From 2c4d32217a6e395afe272a3a3fdaaaa449f00da1 Mon Sep 17 00:00:00 2001 From: Spitap Date: Mon, 28 Aug 2023 14:48:44 +0200 Subject: [PATCH] Modified theme for readthedoc --- doc/conf.py | 6 +++--- doc/requirements.txt | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index e102bf7ae..10b565e31 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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" diff --git a/doc/requirements.txt b/doc/requirements.txt index 50ab59091..93c90e2cb 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1 +1,2 @@ docutils<0.21 +sphinx_rtd_theme