adds doctest to makefile

pull/1/head
Moisés Guimarães 2018-03-13 00:20:39 +01:00
parent a5a85ca5a4
commit 387759f3b0
1 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,10 @@ docs: install ## generate Sphinx HTML documentation, including API docs
$(MAKE) -C docs html
$(BROWSER) docs/_build/html/index.html
doctest: install ## generate Sphinx HTML documentation, including API docs
$(MAKE) -C docs clean
$(MAKE) -C docs doctest
servedocs: docs ## compile the docs watching for changes
watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .