summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-10-29 13:31:11 +0100
committerAlexandre Flament <alex@al-f.net>2020-10-30 20:30:20 +0100
commite697d78d5a907014252df9aec79d981b800aac91 (patch)
tree9b8f94fcf13da458a96d69a2347b942a67880fc5 /utils
parent54afe37e18cdbf4fd858907f0a6e83c6cb1c4157 (diff)
downloadsearxng-e697d78d5a907014252df9aec79d981b800aac91.tar.gz
searxng-e697d78d5a907014252df9aec79d981b800aac91.zip
[mod] make docs-live - remove --port option from sphinx-autobuild
Setting port fixed to 8080 has drawbacks when this port is already in use from another application [1]. Removing this option from the command line offers the use of the sphinx-autobuild defaults which are much more flexible [2]. [1] https://github.com/searx/searx/issues/2282 [2] https://github.com/executablebooks/sphinx-autobuild/blob/master/README.md Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils')
-rw-r--r--utils/makefile.sphinx2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/makefile.sphinx b/utils/makefile.sphinx
index ba18dffa6..b4f298d50 100644
--- a/utils/makefile.sphinx
+++ b/utils/makefile.sphinx
@@ -79,7 +79,7 @@ quiet_cmd_sphinx = SPHINX $@ --> file://$(abspath $(DOCS_DIST)/$5)
-b $2 -c $3 -d $(DOCS_BUILD)/.doctrees $4 $(DOCS_DIST)/$5
quiet_cmd_sphinx_autobuild = SPHINX $@ --> file://$(abspath $(DOCS_DIST)/$5)
- cmd_sphinx_autobuild = PATH="$(PY_ENV_BIN):$(PATH)" $(PY_ENV_BIN)/sphinx-autobuild $(SPHINX_VERBOSE) --open-browser --host 0.0.0.0 --port 8080 $(SPHINXOPTS)\
+ cmd_sphinx_autobuild = PATH="$(PY_ENV_BIN):$(PATH)" $(PY_ENV_BIN)/sphinx-autobuild $(SPHINX_VERBOSE) --open-browser --host 0.0.0.0 $(SPHINXOPTS)\
-b $2 -c $3 -d $(DOCS_BUILD)/.doctrees $4 $(DOCS_DIST)/$5
quiet_cmd_sphinx_clean = CLEAN $@