-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Full refactor of napari-sphinx-theme to depend on pydata-sphinx-theme (…
…#134) Refactors colors, styling and fonts from napari-sphinx-theme. Also removes extra react components that are not needed for the napari theme. Includes the community calendar feature, but calendar is now managed on the docs side. To see how this would look like, you can fetch this PR and build the docs locally (after fetching napari/docs#267), or you can see the deployed site here: melissawm.github.io/napari-theme-var # Important After merging, this will also require a new release of the napari-sphinx-theme. Closes #113 See also napari/docs#267 # List of commits * Full refactor of napari-sphinx-theme to depend on pydata-sphinx-theme * Addressing review comments * Clean up previous theme configs * Move napari logo to partials * Update README * Fix accent color for search box * Set version number * Pin pydata-sphinx-theme version and fix calendar event display
- Loading branch information
Showing
251 changed files
with
1,381 additions
and
19,919 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,32 @@ | ||
# napari-sphinx-theme | ||
|
||
A Sphinx theme fork of the awesome | ||
[pydata-sphinx-theme](https://github.com/pydata/pydata-sphinx-theme) with the | ||
A Sphinx theme based on the awesome | ||
[pydata-sphinx-theme](https://github.com/pydata/pydata-sphinx-theme) with the | ||
look and feel of napari. | ||
|
||
This is currently a work-in-progress, but since it's a fork of pydata, all the | ||
existing configurations and affordances are already available. Check out the | ||
This is currently a work-in-progress, but since it extends the | ||
pydata-sphinx-theme, all the existing configurations and affordances are already | ||
available. Check out the | ||
[PyData Docs](https://pydata-sphinx-theme.readthedocs.io/en/latest/) for more | ||
info. | ||
|
||
## Installing for development | ||
|
||
After creating a virtual environment, install the theme in editable mode: | ||
|
||
```bash | ||
python -m pip install -e . | ||
``` | ||
|
||
## Building a demo site | ||
|
||
To build the demo site, run: | ||
|
||
```bash | ||
cd docs/ | ||
make html | ||
``` | ||
|
||
## Using it to build the napari website | ||
|
||
To build the napari website, install the theme as a dependency. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.