diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 2 insertions, 18 deletions
@@ -118,24 +118,8 @@ WEBSAMPLEBETA = $(WEBHOME)/files/sample_coverage_html_beta $(DOCBIN): tox -q -e doc --notest -cmd_help: $(DOCBIN) - @for cmd in annotate combine debug erase html json report run xml; do \ - echo > doc/help/$$cmd.rst; \ - echo ".. This file is auto-generated by \"make dochtml\", don't edit it manually." >> doc/help/$$cmd.rst; \ - echo >> doc/help/$$cmd.rst; \ - echo ".. code::" >> doc/help/$$cmd.rst; \ - echo >> doc/help/$$cmd.rst; \ - echo " $$ coverage $$cmd --help" >> doc/help/$$cmd.rst; \ - $(DOCBIN)/python -m coverage $$cmd --help | \ - sed \ - -e 's/__main__.py/coverage/' \ - -e '/^Full doc/d' \ - -e 's/^./ &/' \ - >> doc/help/$$cmd.rst; \ - done - -dochtml: $(DOCBIN) cmd_help ## Build the docs HTML output. - $(DOCBIN)/python doc/check_copied_from.py doc/*.rst +dochtml: $(DOCBIN) ## Build the docs HTML output. + $(DOCBIN)/python -m cogapp -crP --verbosity=1 doc/*.rst $(SPHINXBUILD) -b html doc doc/_build/html docdev: dochtml ## Build docs, and auto-watch for changes. |
