1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-24 17:02:24 +00:00

Add documentation dark theme

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-02-25 18:41:12 +01:00
parent d0c9256c5b
commit 1e1fef7a7b
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 5 additions and 1 deletions

View File

@ -29,6 +29,7 @@ author = "Animath"
# ones.
extensions = [
"sphinx_rtd_theme",
"sphinx_rtd_dark_mode",
]
# Add any paths that contain templates here, relative to this directory.
@ -58,3 +59,5 @@ html_theme = 'sphinx_rtd_theme'
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
default_dark_mode = True

View File

@ -1,2 +1,3 @@
sphinx>=3.3
sphinx-rtd-theme>=0.5
sphinx-rtd-theme>=2.0
sphinx_rtd_dark_mode>=1.3.0