diff --git a/doc/source/conf.py b/doc/source/conf.py index fd76e11..ff4c3c5 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -14,7 +14,7 @@ release = '1.0' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration -extensions = ['sphinx_markdown_builder'] +extensions = ['sphinx_markdown_builder', 'sphinx_rtd_dark_mode'] templates_path = ['_templates'] exclude_patterns = ['_build'] @@ -27,6 +27,7 @@ exclude_patterns = ['_build'] # markdown_http_base = "https://your-domain.com/docs" # markdown_uri_doc_suffix = ".html" +default_dark_mode = False # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output diff --git a/doc/source/requirements.txt b/doc/source/requirements.txt index cb4f120..ba97ce7 100644 --- a/doc/source/requirements.txt +++ b/doc/source/requirements.txt @@ -1,4 +1,5 @@ sphinx sphinx-rtd-theme +sphinx-rtd-dark-mode myst-parser sphinx_markdown_builder