Skip to content

Commit

Permalink
build(docs): a target for running cog on the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Nov 25, 2021
1 parent eff683c commit 97fdd55
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Expand Up @@ -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.
Expand Down

0 comments on commit 97fdd55

Please sign in to comment.