# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
+AUTOBUILD = sphinx-autobuild --port 8080 --watch ../../lib
PAPER =
BUILDDIR = output
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
-.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
+.PHONY: help clean html autobuild dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " html to make standalone HTML files"
+ @echo " autobuild autobuild and run a webserver"
@echo " dist-html same as html, but places files in /doc"
@echo " dirhtml to make HTML files named index.html in directories"
@echo " pickle to make pickle files"
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
+autobuild:
+ $(AUTOBUILD) $(ALLSPHINXOPTS) $(BUILDDIR)/html
+
dist-html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
cp -R $(BUILDDIR)/html/* ../
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
+# NOTE: use nature_override.css, not this
# html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.