summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-03-21 18:45:38 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-03-21 18:45:38 +0100
commit2d956696e94e5639db6e12648442989919c48c22 (patch)
tree375f5931ab94e4cf2c342721073a134e8fdaf433 /docs/conf.py
parentd2cfe9ce5bb409472f10590aa1ae069b2a971a49 (diff)
downloadsearxng-2d956696e94e5639db6e12648442989919c48c22.tar.gz
searxng-2d956696e94e5639db6e12648442989919c48c22.zip
docs: building (PDF) books / build user book
BTW: cleaned up Makefile target help Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 6a6633341..c2b2bbd84 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
import sys, os
+from sphinx_build_tools import load_sphinx_config
from searx.version import VERSION_STRING
from pallets_sphinx_themes import ProjectLink
@@ -116,3 +117,9 @@ html_show_sourcelink = False
latex_documents = [
(master_doc, "searx-{}.tex".format(VERSION_STRING), html_title, author, "manual")
]
+
+# ------------------------------------------------------------------------------
+# Since loadConfig overwrites settings from the global namespace, it has to be
+# the last statement in the conf.py file
+# ------------------------------------------------------------------------------
+load_sphinx_config(globals())