Doc: Add sphinx-rtd-dark-mode
This commit is contained in:
parent
74a0d44f44
commit
2496869153
|
@ -14,7 +14,7 @@ release = '1.0'
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#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']
|
templates_path = ['_templates']
|
||||||
exclude_patterns = ['_build']
|
exclude_patterns = ['_build']
|
||||||
|
@ -27,6 +27,7 @@ exclude_patterns = ['_build']
|
||||||
# markdown_http_base = "https://your-domain.com/docs"
|
# markdown_http_base = "https://your-domain.com/docs"
|
||||||
# markdown_uri_doc_suffix = ".html"
|
# markdown_uri_doc_suffix = ".html"
|
||||||
|
|
||||||
|
default_dark_mode = False
|
||||||
|
|
||||||
# -- Options for HTML output -------------------------------------------------
|
# -- Options for HTML output -------------------------------------------------
|
||||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
sphinx
|
sphinx
|
||||||
sphinx-rtd-theme
|
sphinx-rtd-theme
|
||||||
|
sphinx-rtd-dark-mode
|
||||||
myst-parser
|
myst-parser
|
||||||
sphinx_markdown_builder
|
sphinx_markdown_builder
|
||||||
|
|
Loading…
Reference in New Issue