From b109126c4f45aa9ac88b20a384d6b3c2ded5633b Mon Sep 17 00:00:00 2001 From: Hugo LEVY-FALK Date: Thu, 22 Mar 2018 10:29:03 +0100 Subject: [PATCH] autodoc --- doc/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/Makefile b/doc/Makefile index be39bd71..96799853 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -43,6 +43,7 @@ help: @echo " doctest to run all doctests embedded in the documentation (if enabled)" @echo " coverage to run coverage check of the documentation (if enabled)" @echo " dummy to check syntax errors of document sources" + @echo " apidoc to generate autodoc" .PHONY: clean clean: @@ -223,3 +224,9 @@ dummy: $(SPHINXBUILD) -b dummy $(ALLSPHINXOPTS) $(BUILDDIR)/dummy @echo @echo "Build finished. Dummy builder generates no files." + +.PHONY: apidoc +apidoc: + sphinx-apidoc -o source ../ + @echo + @echo "Generated autodoc"