Skip to main content

A clean 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

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'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx_rtd_light_dark-0.1.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_rtd_light_dark-0.1.2-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_rtd_light_dark-0.1.2.tar.gz.

File metadata

  • Download URL: sphinx_rtd_light_dark-0.1.2.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 CPython/3.10.0

File hashes

Hashes for sphinx_rtd_light_dark-0.1.2.tar.gz
Algorithm Hash digest
SHA256 33b5e529440fe9f12feca48bc91148e826f6065eb4a47b3c22c97792a6395274
MD5 67946335dc2791530b8425bd95a3fdbb
BLAKE2b-256 7ebe75326ed607d77c55f30075b2f88dab3fd669d4a0a55a8349c60a0035673e

See more details on using hashes here.

File details

Details for the file sphinx_rtd_light_dark-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_rtd_light_dark-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3ae6655d8aec9c432af7c3e125d0ff6557e057deb186fc3b24a1368eddbeae1c
MD5 ad9b573c4e27f0a7e7046f64de8b3ffb
BLAKE2b-256 c1efec0488d26c13987f2dab0e4a283fd823da7977dde146815451dd3e4d13d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page