Add an autohtml target to docs/Makefile.

This runs the convenient sphinx-autobuild web server for docs development.
This commit is contained in:
Jakob Stoklund Olesen
2016-04-05 11:11:53 -07:00
parent 043bb1aba5
commit d197f8a104

View File

@@ -4,6 +4,7 @@
# You can set these variables from the command line. # You can set these variables from the command line.
SPHINXOPTS = SPHINXOPTS =
SPHINXBUILD = sphinx-build SPHINXBUILD = sphinx-build
SPHINXABUILD = sphinx-autobuild
PAPER = PAPER =
BUILDDIR = _build BUILDDIR = _build
@@ -56,6 +57,9 @@ html:
@echo @echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html." @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
autohtml: html
$(SPHINXABUILD) -z ../meta -b html -E $(ALLSPHINXOPTS) $(BUILDDIR)/html
dirhtml: dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo @echo