From: Remi Gacogne Date: Fri, 20 Jun 2025 09:43:18 +0000 (+0200) Subject: dnsdist: Fix the documentation workflow X-Git-Tag: rec-5.3.0-alpha1~9^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=130f1a3f9e02a68e8cf7c1139dd6ec2cba273415;p=thirdparty%2Fpdns.git dnsdist: Fix the documentation workflow 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 --- diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 6af2789f29..e27c294e0d 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -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 diff --git a/tasks.py b/tasks.py index f37ee06984..f91c7d0185 100644 --- 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')