Skip to content

Commit

Permalink
Add sphinx_rtd_dark_mode extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Apr 25, 2024
1 parent 2bd1c35 commit 6238a7a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"sphinx_rtd_theme",
"sphinx_tabs.tabs",
"myst_parser",
"sphinx_rtd_dark_mode",
]

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

# Toc options
'includehidden': True,
'titles_only': False
'titles_only': False,
}
html_favicon = '_static/favicon.ico'
html_logo = 'cyberduck-icon-64.png'
Expand Down Expand Up @@ -83,4 +84,6 @@
myst_enable_extensions = [
"html_image",
"colon_fence"
]
]

default_dark_mode = False
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
myst-parser
sphinx-tabs
sphinx_rtd_theme
sphinx_rtd_dark_mode

# Pin docutils
docutils~=0.18.0

0 comments on commit 6238a7a

Please sign in to comment.