From e4c65779cdd54bdb15368605244b8fa279583ed9 Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Mon, 20 Nov 2023 09:29:30 +0100 Subject: [PATCH] Add `linkcheck` Signed-off-by: Cristian Le --- .github/workflows/doc-tests.yml | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/doc-tests.yml b/.github/workflows/doc-tests.yml index 9e3c72c248..ad42a65e78 100644 --- a/.github/workflows/doc-tests.yml +++ b/.github/workflows/doc-tests.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - builder: [ html ] + builder: [ html, linkcheck ] include: # Run default html builder with warnings as error - builder: html diff --git a/pyproject.toml b/pyproject.toml index 9c6587aa1e..26aa21c813 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -178,6 +178,7 @@ dependencies = ["tmt[docs]"] # script) e.g. -E, -d, and -D. These should not affect generated documentation # files below, but it may be providing additional metadata for RTD to index. html = "sphinx-build -b html {root}/docs {root}/docs/_build {args}" +linkcheck = "sphinx-build -b linkcheck {root}/docs {root}/docs/_build {args}" man = [ "cp {root}/docs/header.txt {root}/man.rst", "tail -n+8 docs/overview.rst >> {root}/man.rst",