From 3595705a0a3616248b3582420b5dc8bb42eb20a9 Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Sat, 5 Aug 2023 08:18:29 +0200 Subject: [PATCH 1/2] Add .readthedocs.yaml A minimalistic config as suggested in readthedocs' migration-configuration-v2 docs. --- .readthedocs.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 00000000..ac622810 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,22 @@ +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the version of Python and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: doc/source/conf.py + +# We recommend specifying your dependencies to enable reproducible builds: +# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +python: + install: + - requirements: ./sphinx_requirements.txt From 9d9e23ca9a4613f56099351178d956cfc377a061 Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Sat, 5 Aug 2023 09:19:03 +0200 Subject: [PATCH 2/2] Add regular requirements.txt to .readthedocs.yaml --- .readthedocs.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index ac622810..1ffe795e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -19,4 +19,5 @@ sphinx: # https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html python: install: + - requirements: ./requirements.txt - requirements: ./sphinx_requirements.txt