Add sphinx-autobuild for convenience.

This commit is contained in:
Michael Kelly 2014-08-24 16:10:57 -04:00
Родитель 8c5074c82a
Коммит 0ee1443d3c
3 изменённых файлов: 9 добавлений и 1 удалений

Просмотреть файл

@ -12,7 +12,7 @@ PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest livehtml
help:
@echo "Please use \`make <target>' where <target> is one of"
@ -128,3 +128,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."
livehtml:
sphinx-autobuild -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html

Просмотреть файл

@ -23,5 +23,9 @@ If you'd like to build the bootcamp locally:
The resulting docs can be located under the ``_build/html`` directory.
You can also run ``make livehtml`` to launch a webserver on
http://127.0.0.1:8000 that auto-rebuild the documentation when any files are
changed.
.. _pip: https://pip.pypa.io/
.. _virtualenv: https://virtualenv.pypa.io/

Просмотреть файл

@ -1,2 +1,3 @@
Sphinx
sphinx_rtd_theme
sphinx-autobuild