diff --git a/doc/conf.py b/doc/conf.py index fc0d4d9c6..a51edfbea 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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'] diff --git a/doc/requirements.txt b/doc/requirements.txt index 7c3ba8e96..c15160973 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,3 +1,4 @@ docutils>=0.17 myst-parser>=2.0.0 -sphinx_rtd_theme>=1.1.1 \ No newline at end of file +sphinx_rtd_theme>=1.1.1 +sphinx-rtd-dark-mode \ No newline at end of file