@@ -141,6 +141,9 @@ Here is an example which makes a complete rebuild:
141live build
141live build
142----------
142----------
144+.. _sphinx-autobuild:
145+ https://github.com/executablebooks/sphinx-autobuild/blob/master/README.md
144.. sidebar:: docs-clean
147.. sidebar:: docs-clean
146 It is recommended to assert a complete rebuild before deploying (use
149 It is recommended to assert a complete rebuild before deploying (use
@@ -156,9 +159,21 @@ changed.
156 $ make docs-live
159 $ make docs-live
158 The HTML pages are in dist/docs.
161 The HTML pages are in dist/docs.
159− ... Serving on http://0.0.0.0:8080
162+ ... Serving on http://0.0.0.0:8000
160 ... Start watching changes
163 ... Start watching changes
165+Live builds are implemented by sphinx-autobuild_. Use environment
166+``$(SPHINXOPTS)`` to pass arguments to the sphinx-autobuild_ command. Except
167+option ``--host`` (which is always set to ``0.0.0.0``) you can pass any
168+argument. E.g to find and use a free port, use:
172+ $ SPHINXOPTS="--port 0" make docs-live
174+ ... Serving on http://0.0.0.0:50593
163.. _deploy on github.io:
178.. _deploy on github.io: