Skip to content

Commit 0b661fb

Browse files
committed
readthedocs4
1 parent 33bb164 commit 0b661fb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/conf.py

+3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
'sphinx.ext.viewcode',
4040
'sphinx.ext.todo',
4141
'sphinx_rtd_theme',
42+
'sphinx_rtd_dark_mode',
4243
]
4344

4445
# Add any paths that contain templates here, relative to this directory.
@@ -64,6 +65,8 @@
6465
#
6566
html_theme = 'sphinx_rtd_theme'
6667

68+
default_dark_mode = True
69+
6770
# Add any paths that contain custom static files (such as style sheets) here,
6871
# relative to this directory. They are copied after the builtin static files,
6972
# so a file named "default.css" will overwrite the builtin "default.css".

docs/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ sphinx==5.3.0
3838
# via sphinx-rtd-theme
3939
sphinx-rtd-theme==1.1.1
4040
# via -r requirements.in
41+
sphinx-rtd-dark-mode==1.3.0
4142
sphinxcontrib-applehelp==2.0.0
4243
# via sphinx
4344
sphinxcontrib-devhelp==2.0.0

0 commit comments

Comments
 (0)