Salome HOME
SPO - Modifications to enable auto documentation of Python code
[tools/sat.git] / doc / Makefile
index 70c26962e881cf2123c9c06e8ec87dc34892c6ff..f79ee7764d2e0ff614126e3892702f40d0ace5b8 100644 (file)
@@ -37,7 +37,7 @@ help:
 clean:
        -rm -rf $(BUILDDIR)/*
 
-html:
+html: apidoc
        $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
        @echo
        @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
@@ -137,3 +137,6 @@ doctest:
        $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
        @echo "Testing of doctests in the sources finished, look at the " \
              "results in $(BUILDDIR)/doctest/output.txt."
+
+apidoc:
+       @sphinx-apidoc -o source/commands/apidoc ../src