kopia lustrzana https://github.com/wagtail/wagtail
add way of autocompile documentation
rodzic
85de048a89
commit
f70226c845
|
@ -180,3 +180,8 @@ pseudoxml:
|
|||
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
|
||||
@echo
|
||||
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
|
||||
|
||||
livehtml:
|
||||
sphinx-autobuild --poll -p 4000 -H 0.0.0.0 -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
||||
|
||||
|
||||
|
|
|
@ -180,3 +180,13 @@ To clear the built HTML and start fresh, so you can see all warnings thrown when
|
|||
$ cd docs/
|
||||
$ make clean
|
||||
$ make html
|
||||
|
||||
Wagtail also provides a way for documentation to be compiled automatically on each change.
|
||||
To do this, you can run the following command to see the changes automatically at ``localhost:4000``:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ cd docs/
|
||||
$ make livehtml
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue