]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1990724: Updated RTD config (#210)
authorDave Miller <justdave@bugzilla.org>
Thu, 25 Sep 2025 23:13:07 +0000 (19:13 -0400)
committerGitHub <noreply@github.com>
Thu, 25 Sep 2025 23:13:07 +0000 (19:13 -0400)
.readthedocs.yaml
docs/requirements.txt [new file with mode: 0644]

index 388f032765373bb8b395fa5c50099ece58fddddf..67fc993bb68808767a382bff003680a766012196 100644 (file)
@@ -1,8 +1,8 @@
 version: 2
 build:
-  os: "ubuntu-20.04"
+  os: "ubuntu-22.04"
   tools:
-    python: "3.10"
+    python: "3.11"
   apt_packages:
     - libfile-copy-recursive-perl
   jobs:
@@ -10,7 +10,12 @@ build:
       - perl docs/makedocs.pl --pod-only
       - cp -rp docs/en/html/integrating/api/ "$READTHEDOCS_OUTPUT/html/integrating/api"
       - cp -p docs/en/html/style.css "$READTHEDOCS_OUTPUT/html/"
-format:
+sphinx:
+  configuration: docs/en/rst/conf.py
+python:
+  install:
+    - requirements: docs/requirements.txt
+formats:
   - htmlzip
   - pdf
   - epub
diff --git a/docs/requirements.txt b/docs/requirements.txt
new file mode 100644 (file)
index 0000000..705daff
--- /dev/null
@@ -0,0 +1,3 @@
+sphinx==5.3.0
+sphinx_rtd_theme==1.3.0
+readthedocs-sphinx-search==0.3.2