From 3139f93510af99129459db30a9a4defc5c2ac603 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 30cc60acbb..5f138ded17 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -182,6 +182,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",