Skip to content

Commit 6238a7a

Browse files
committed
Add sphinx_rtd_dark_mode extension.
1 parent 2bd1c35 commit 6238a7a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

conf.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"sphinx_rtd_theme",
3131
"sphinx_tabs.tabs",
3232
"myst_parser",
33+
"sphinx_rtd_dark_mode",
3334
]
3435

3536
# Add any paths that contain templates here, relative to this directory.
@@ -55,7 +56,7 @@
5556

5657
# Toc options
5758
'includehidden': True,
58-
'titles_only': False
59+
'titles_only': False,
5960
}
6061
html_favicon = '_static/favicon.ico'
6162
html_logo = 'cyberduck-icon-64.png'
@@ -83,4 +84,6 @@
8384
myst_enable_extensions = [
8485
"html_image",
8586
"colon_fence"
86-
]
87+
]
88+
89+
default_dark_mode = False

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
myst-parser
22
sphinx-tabs
33
sphinx_rtd_theme
4+
sphinx_rtd_dark_mode
45

56
# Pin docutils
67
docutils~=0.18.0

0 commit comments

Comments
 (0)