summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-09-20 07:51:01 +0200
committerAlexandre Flament <alex@al-f.net>2020-09-28 13:27:50 +0200
commitc2a6f145160dca0873dbd2f2c9ffe7e1bc340236 (patch)
tree0b35739497831353e697bd8b0fa796de2c31dcb6 /utils
parent9d60ae1ce64b7a715f7780d304afa832583c6e4f (diff)
downloadsearxng-c2a6f145160dca0873dbd2f2c9ffe7e1bc340236.tar.gz
searxng-c2a6f145160dca0873dbd2f2c9ffe7e1bc340236.zip
[fix] Update Sphinx package versions
* Update call to sphinx-autobuild (remove --poll -B options, add --open-browser) * Upgrade the Sphinx and sphinx-tabs versions. * utils/makefile.sphinx: remove the SPHINXVERS variable. * utils/makefile.sphinx: remove the sphinx-doc and sphinx-live targets, Sphinx is already installed by the pyenvinstall target.
Diffstat (limited to 'utils')
-rw-r--r--utils/makefile.sphinx30
1 files changed, 1 insertions, 29 deletions
diff --git a/utils/makefile.sphinx b/utils/makefile.sphinx
index 1b0f42ccb..a9931ec78 100644
--- a/utils/makefile.sphinx
+++ b/utils/makefile.sphinx
@@ -21,23 +21,6 @@ else
SPHINX_VERBOSE =
endif
-## SPHINXVERS variable
-## ===================
-##
-## .. _requirement-specifiers: https://pip.pypa.io/en/stable/reference/pip_install/#requirement-specifiers
-##
-## Sphinx version to use, when building documentation. Set this when calling
-## build target. The default value is empty (install latest), to select a
-## specific version use a requirement-specifiers_. E.g. to build your target
-## 'doc' with a select sphinx-doc_ version 1.7.9::
-##
-## make SPHINXVERS='==1.7.9' docs
-##
-## To build with latest 1.7::
-##
-## make SPHINXVERS='>=1.7,<1.8' docs
-##
-SPHINXVERS ?=
docs-help:
@echo 'makefile.sphinx:'
@@ -56,17 +39,6 @@ docs-help:
# requirements
# ------------------------------------------------------------------------------
-sphinx-doc-prebuilds:: $(PY_ENV)
-
-sphinx-doc: sphinx-doc-prebuilds
- @echo "PYENV installing Sphinx$(SPHINXVERS)"
- $(Q)$(PY_ENV_BIN)/pip install $(PIP_VERBOSE) 'Sphinx$(SPHINXVERS)'
-
-sphinx-live: sphinx-doc-prebuilds
- @echo "PYENV installing Sphinx$(SPHINXVERS)"
- $(Q)$(PY_ENV_BIN)/pip install $(PIP_VERBOSE) 'Sphinx$(SPHINXVERS)' sphinx-autobuild
-
-
PHONY += msg-texlive texlive
ifeq ($(shell which xelatex >/dev/null 2>&1; echo $$?), 1)
@@ -107,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) --poll -B --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 --port 8080 $(SPHINXOPTS)\
-b $2 -c $3 -d $(DOCS_BUILD)/.doctrees $4 $(DOCS_DIST)/$5
quiet_cmd_sphinx_clean = CLEAN $@