From 97fdd550020384d2eedaf72ff0cd46a4efcb7d05 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 25 Nov 2021 12:08:43 -0500 Subject: [PATCH] build(docs): a target for running cog on the docs --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3c460df45..3609b11c8 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.