From ab97cb5eac67aa24726ec6f8fbe8cc83e796e716 Mon Sep 17 00:00:00 2001 From: Thomas Perl Date: Sat, 2 Dec 2023 20:08:12 +0100 Subject: [PATCH] docs: Install sphinx-rtx-theme --- .readthedocs.yaml | 3 +++ docs/conf.py | 2 +- docs/requirements.txt | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 docs/requirements.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml index f3fe409..e6fd2ba 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -3,5 +3,8 @@ build: os: ubuntu-22.04 tools: python: "3.12" +python: + install: + - requirements: docs/requirements.txt sphinx: configuration: docs/conf.py diff --git a/docs/conf.py b/docs/conf.py index 3e2b038..ef47894 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -25,7 +25,7 @@ # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = [] +extensions = ['sphinx_rtd_theme'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..43eeb8e --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1 @@ +sphinx-rtd-theme==1.3.0