From 793596614e1df2fb01e2b61570bc8555e8501d9b Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Sun, 7 Nov 2021 00:37:31 +0100 Subject: [PATCH] attempt to fix ReadTheDocs build issue --- .readthedocs.yaml | 6 +++--- docs/requirements.txt | 2 ++ docs/source/conf.py | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 docs/requirements.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 1b23a2259..413e18687 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -24,6 +24,6 @@ formats: - pdf # Optionally declare the Python requirements required to build your docs -#python: -# install: -# - requirements: docs/requirements.txt +python: + install: + - requirements: docs/requirements.txt diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 000000000..cdf079dec --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +sphinx>=4.0 +sphinx_rtd_theme==1.0.0 diff --git a/docs/source/conf.py b/docs/source/conf.py index c6dcc4f65..fd6a424bb 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -40,7 +40,7 @@ def setup(app): # If your documentation needs a minimal Sphinx version, state it here. # -needs_sphinx = '4.2.0' +needs_sphinx = '4.0' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom