summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSandra McCann <samccann@redhat.com>2020-05-29 12:48:53 -0400
committerGitHub <noreply@github.com>2020-05-29 11:48:53 -0500
commitf110bcd59e665c0d4a00623fd8f48050e61945c1 (patch)
treed199f5d02e6a9d353adbde4292e28b8e0aa5cea5 /Makefile
parent0b82d4499e2e0076f9efd6d360d4389af0aa2921 (diff)
downloadansible-f110bcd59e665c0d4a00623fd8f48050e61945c1.tar.gz
Turn on linkchecker in sphinx for documentation (#69590)
* add make linkcheckerdocs as option to verify external links * add back anchor checks * spacing nit * fix shippable issue * Update docs/docsite/rst/conf.py Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d49d0f0bd4..0ac8293257 100644
--- a/Makefile
+++ b/Makefile
@@ -268,6 +268,10 @@ epub:
webdocs:
(cd docs/docsite/; CPUS=$(CPUS) $(MAKE) docs)
+.PHONY: linkcheckdocs
+linkcheckdocs:
+ (cd docs/docsite/; CPUS=$(CPUS) $(MAKE) linkcheckdocs)
+
.PHONY: generate_rst
generate_rst: lib/ansible/cli/*.py
mkdir -p ./docs/man/man1/ ; \