]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add configuration for readthedocs.org
authorTom Krizek <tkrizek@isc.org>
Fri, 14 Jul 2023 11:14:49 +0000 (13:14 +0200)
committerTom Krizek <tkrizek@isc.org>
Tue, 18 Jul 2023 13:33:56 +0000 (15:33 +0200)
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/

(cherry picked from commit a1a0ccda6ed996f32c2effd7644a2120f9d7a5d2)

.readthedocs.yaml [new file with mode: 0644]
.reuse/dep5

diff --git a/.readthedocs.yaml b/.readthedocs.yaml
new file mode 100644 (file)
index 0000000..5ea7be0
--- /dev/null
@@ -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
index 104a8e9751e89c0a68b29268599571ad081bad99..e26b02d61a4dd8679356e7a46342405171c79676 100644 (file)
@@ -161,6 +161,7 @@ Files: **/.clang-format
        .gitlab-ci.yml
        .lgtm.yml
        .pylintrc
+       .readthedocs.yaml
        .tsan-suppress
        .uncrustify.cfg
        config.guess