mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Modified theme for readthedoc
This commit is contained in:
+3
-3
@@ -61,9 +61,9 @@ copyright = "2023, Antoine Nguyen" # NOQA:A001
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = "1.10"
|
||||
version = "2.2.0"
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = "1.10.0"
|
||||
release = "2.2.0"
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
@@ -107,7 +107,7 @@ pygments_style = "sphinx"
|
||||
|
||||
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
|
||||
if on_rtd:
|
||||
html_theme = "default"
|
||||
html_theme = "sphinx_rtd_theme"
|
||||
else:
|
||||
html_theme = "nature"
|
||||
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
docutils<0.21
|
||||
sphinx_rtd_theme
|
||||
|
||||
Reference in New Issue
Block a user