From a1a0ccda6ed996f32c2effd7644a2120f9d7a5d2 Mon Sep 17 00:00:00 2001 From: Tom Krizek Date: Fri, 14 Jul 2023 13:14:49 +0200 Subject: [PATCH] Add configuration for readthedocs.org readthedocs.org is switching to in-repo configuration file in favor of the deprecated web interface as it allows more flexibility. This also fixes our recent doc build issues, as we're switching to a newer Python which is required by Sphinx. See https://blog.readthedocs.com/migrate-configuration-v2/ --- .readthedocs.yaml | 20 ++++++++++++++++++++ .reuse/dep5 | 1 + 2 files changed, 21 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000000..5ea7be0600 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,20 @@ +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +# Build documentation in doc/arm/ with Sphinx +sphinx: + configuration: doc/arm/conf.py + +# Build all formats +formats: all + +# Explicitly set the version of Python and its requirements +python: + install: + - requirements: doc/arm/requirements.txt diff --git a/.reuse/dep5 b/.reuse/dep5 index 0554a1613b..ded1db308a 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -163,6 +163,7 @@ Files: **/.clang-format .gitlab-ci.yml .lgtm.yml .pylintrc + .readthedocs.yaml .tsan-suppress .uncrustify.cfg doc/misc/*.zoneopt