summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-11-25 12:08:43 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-11-25 12:09:11 -0500
commit97fdd550020384d2eedaf72ff0cd46a4efcb7d05 (patch)
tree6b572e7571d1d67add6fbbb73942e017c9a357f7
parenteff683c74dccf0f444484ac470e35dbc0a8cc498 (diff)
downloadpython-coveragepy-git-97fdd550020384d2eedaf72ff0cd46a4efcb7d05.tar.gz
build(docs): a target for running cog on the docs
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3c460df4..3609b11c 100644
--- a/Makefile
+++ b/Makefile
@@ -119,8 +119,10 @@ WEBSAMPLEBETA = $(WEBHOME)/files/sample_coverage_html_beta
$(DOCBIN):
tox -q -e doc --notest
-dochtml: $(DOCBIN) ## Build the docs HTML output.
+cogdoc: $(DOCBIN) ## Run docs through cog
$(DOCBIN)/python -m cogapp -crP --verbosity=1 doc/*.rst
+
+dochtml: cogdoc $(DOCBIN) ## Build the docs HTML output.
$(SPHINXBUILD) -b html doc doc/_build/html
docdev: dochtml ## Build docs, and auto-watch for changes.