Skip to content

Commit

Permalink
Add command to run doctests in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hynes committed Mar 14, 2019
1 parent b6a16d8 commit 14d991c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.ONESHELL:
docs: ## generate Sphinx HTML documentation
docs: # Generate Sphinx HTML documentation.
cd doc
make clean && make html
cd ..

test_docs: # Run all doctests in documentation.
sphinx-build -b doctest doc/source/ doc/build/

0 comments on commit 14d991c

Please sign in to comment.