From 6d4a51954d1db1a9e2b62967d115947dc2384e64 Mon Sep 17 00:00:00 2001 From: Yann Sionneau Date: Sat, 4 Nov 2023 18:05:24 +0100 Subject: [PATCH] ReadTheDocs now requires a configuration file --- .readthedocs.yaml | 22 ++++++++++++++++++++++ readthedocs_requirements.txt | 1 + 2 files changed, 23 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 00000000..599b6b7f --- /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 doc/ directory with Sphinx +sphinx: + configuration: doc/conf.py + +# We recommend specifying your dependencies to enable reproducible builds: +# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +python: + install: + - requirements: readthedocs_requirements.txt diff --git a/readthedocs_requirements.txt b/readthedocs_requirements.txt index c15e47dd..d455d096 100644 --- a/readthedocs_requirements.txt +++ b/readthedocs_requirements.txt @@ -12,3 +12,4 @@ uwsgi coverage==4.5.2 sphinx~=3.0.0 sphinx-rtd-theme +jinja2<3.1