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>
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
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')