Skip to content

Commit 6881baa

Browse files
committed
Adds dark mode toggle
1 parent b1867ca commit 6881baa

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ def setup(app):
1616

1717
extensions = [
1818
'sphinx.ext.todo',
19+
'sphinx_rtd_dark_mode'
1920
]
2021

22+
default_dark_mode = False
23+
2124
templates_path = ['_templates']
2225

2326
source_suffix = '.rst'

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
sphinx
1+
sphinx==4.4
22
sphinx_rtd_theme
3+
sphinx_rtd_dark_mode
34
docutils<0.18

0 commit comments

Comments
 (0)