From f75a6dfd0bc75509bd9dd1b05a801cc68549e852 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 14 Oct 2024 16:12:18 +0200 Subject: [PATCH] Generate metrics doc file --- .github/workflows/documentation.yml | 2 ++ tasks.py | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index b034f43f0e..1da2bceae4 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -62,6 +62,8 @@ jobs: if: ${{github.ref_name == 'master' && steps.setup-ssh.outputs.have_ssh_key != ''}} # Rec + - run: inv ci-metrics-rec-generate + working-directory: ./pdns/recursordist - run: inv ci-docs-rec-generate working-directory: ./pdns/recursordist/settings - run: inv ci-docs-build diff --git a/tasks.py b/tasks.py index 02bf27bafe..5a0d53101f 100644 --- a/tasks.py +++ b/tasks.py @@ -355,6 +355,10 @@ def ci_autoconf(c, meson=False): def ci_docs_rec_generate(c): c.run('python3 generate.py') +@task +def ci_metrics_rec_generate(c): + c.run('python3 metrics.py') + @task def ci_docs_build(c): c.run('make -f Makefile.sphinx -C docs html') -- 2.47.2