A minimal variant of the read the docs sphinx theme with light and dark modes.
Project description
Read the Docs Light-Dark Theme
A clean variant of the read the docs theme with grayscale styling and optional light mode / dark mode toggling. This theme is currently used with the proplot and climopy projects. Please refer to the published proplot and climopy documentation for demonstrations of the theme.
Theme Usage
In your conf.py
file, add the entry 'sphinx_rtd_light_dark'
to the extensions
list,
and set the variable html_theme
to 'sphinx_rtd_light_dark'
. Example conf.py
:
extensions = [
...
'sphinx_rtd_light_dark',
...
]
html_theme = 'sphinx_rtd_light_dark'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sphinx_rtd_light_dark-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 858efacea14d9ff2d06fb2aabc9df8f8cbe80dcefb82871ab54ff2fe7e62f34a |
|
MD5 | 829adbd2092c7f0c2bf49b741aa515f7 |
|
BLAKE2b-256 | 68852e42b3545f1b3b404084b8aede7edc6779b4fd6845f3dbda43357550b215 |
Close
Hashes for sphinx_rtd_light_dark-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f30699d60e0eddd1f9f280753432ef3a9acd2750352e51b3e6d3d153c12db507 |
|
MD5 | b4564b37d75b3282027223571f6c251b |
|
BLAKE2b-256 | f0752749cdbed8d34a020011f50f73c8feffc003ac8b487d3a170374da3baa20 |