Fix options for sphinx-autobuild in docs Makefile

Fix #2796
This commit is contained in:
Bruno Alla 2020-09-07 14:46:51 +02:00
parent 49479fb118
commit 80b5df68f2

View File

@ -22,9 +22,9 @@ help:
# Build, watch and serve docs with live reload
livehtml:
sphinx-autobuild -b html
{%- if cookiecutter.use_docker == 'y' %} -H 0.0.0.0
{%- if cookiecutter.use_docker == 'y' %} --host 0.0.0.0
{%- else %} --open-browser
{%- endif %} -p 7000 --watch $(APP) -c . $(SOURCEDIR) $(BUILDDIR)/html
{%- endif %} --port 7000 --watch $(APP) -c . $(SOURCEDIR) $(BUILDDIR)/html
# Outputs rst files from django application code
apidocs: