Skip to content

Commit

Permalink
Adds dark mode toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
Klustre committed Feb 9, 2022
1 parent f995a9c commit 937398a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@
# ones.
extensions = [
'sphinx.ext.todo',
'sphinx_rtd_dark_mode'
]

default_dark_mode = False

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
sphinx
sphinx==4.4
sphinx_rtd_theme
sphinx_rtd_dark_mode
docutils<0.18

0 comments on commit 937398a

Please sign in to comment.