diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-02 19:00:19 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-02 19:00:19 +0100 |
commit | c3e4753ce951f759844db13d98f9ad5b226f84b6 (patch) | |
tree | 70841eec657c248ffd2048c4175d80cd4a345508 /Makefile | |
parent | 491cb95a1f910e17ac022ddfa73b68aae2fbc6e2 (diff) | |
download | searxng-c3e4753ce951f759844db13d98f9ad5b226f84b6.tar.gz searxng-c3e4753ce951f759844db13d98f9ad5b226f84b6.zip |
docs: generic documentation from the installation scripts
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -60,13 +60,21 @@ run: pyenvinstall # ---- PHONY += docs -docs: pyenvinstall sphinx-doc + +docs: pyenvinstall sphinx-doc prebuild-includes $(call cmd,sphinx,html,docs,docs) PHONY += docs-live -docs-live: pyenvinstall sphinx-live +docs-live: pyenvinstall sphinx-live prebuild-includes $(call cmd,sphinx_autobuild,html,docs,docs) +prebuild-includes: + @mkdir -p $(DOCS_BUILD)/includes + @./utils/searx.sh doc | cat > $(DOCS_BUILD)/includes/searx.rst + @./utils/filtron.sh doc | cat > $(DOCS_BUILD)/includes/filtron.rst + @./utils/morty.sh doc | cat > $(DOCS_BUILD)/includes/morty.rst + + $(GH_PAGES):: @echo "doc available at --> $(DOCS_URL)" |