Skip to content

Commit 97fdd55

Browse files
committed
build(docs): a target for running cog on the docs
1 parent eff683c commit 97fdd55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,10 @@ WEBSAMPLEBETA = $(WEBHOME)/files/sample_coverage_html_beta
119119
$(DOCBIN):
120120
tox -q -e doc --notest
121121

122-
dochtml: $(DOCBIN) ## Build the docs HTML output.
122+
cogdoc: $(DOCBIN) ## Run docs through cog
123123
$(DOCBIN)/python -m cogapp -crP --verbosity=1 doc/*.rst
124+
125+
dochtml: cogdoc $(DOCBIN) ## Build the docs HTML output.
124126
$(SPHINXBUILD) -b html doc doc/_build/html
125127

126128
docdev: dochtml ## Build docs, and auto-watch for changes.

0 commit comments

Comments
 (0)