Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 948 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 948 Bytes

Read the Docs Light-Dark Theme

pypi licence

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.

Theme Usage

Install with pip install sphinx-rtd-light-dark. Then in your conf.py file, add the entry 'sphinx_rtd_light_dark' to the extensions list, and set html_theme to 'sphinx_rtd_light_dark'.

Example conf.py:

extensions = [
  ...
  'sphinx_rtd_light_dark',
  ...
]
html_theme = 'sphinx_rtd_light_dark'