]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix the documentation workflow
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 20 Jun 2025 09:43:18 +0000 (11:43 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 20 Jun 2025 09:43:18 +0000 (11:43 +0200)
We need to generate the parts of the documentation sources that are no
longer present in the repository before building it.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
.github/workflows/documentation.yml
tasks.py

index 6af2789f2926693ecf23a30bb9784b3fe038577d..e27c294e0d698b9a407b11f9ff44d8031837b063 100644 (file)
@@ -111,6 +111,8 @@ jobs:
           cp ./pdns/recursordist/docs/_build/latex/PowerDNS-Recursor.pdf ./pdns/recursordist/docs/_build/rec-html-docs/
 
       # Build DNSdist docs
+      - run: inv ci-docs-dnsdist-generate
+        working-directory: ./pdns/dnsdistdist
       - run: inv ci-docs-build
         working-directory: ./pdns/dnsdistdist
       - run: mv html dnsdist-html-docs
index f37ee069849039875f93b1a800e7011d01dc71a3..f91c7d0185d93bfc05af8c3c67f344e83216d71f 100644 (file)
--- a/tasks.py
+++ b/tasks.py
@@ -361,6 +361,10 @@ def ci_docs_rec_generate(c):
 def ci_metrics_rec_generate(c):
     c.run('python3 metrics.py')
 
+@task
+def ci_docs_dnsdist_generate(c):
+    c.run('python3 dnsdist-settings-documentation-generator.py .')
+
 @task
 def ci_docs_build(c):
     c.run('make -f Makefile.sphinx -C docs html')