Skip to content

Commit

Permalink
Add dark mode to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TokisanGames committed Dec 1, 2023
1 parent 4d844c4 commit 3c46025
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = ['myst_parser']
extensions = ['myst_parser', 'sphinx_rtd_dark_mode']

myst_heading_anchors = 3
default_dark_mode = False

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
Expand Down
3 changes: 2 additions & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
docutils>=0.17
myst-parser>=2.0.0
sphinx_rtd_theme>=1.1.1
sphinx_rtd_theme>=1.1.1
sphinx-rtd-dark-mode

0 comments on commit 3c46025

Please sign in to comment.