diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-23 15:02:32 +0100 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-23 15:02:32 +0100 |
| commit | 21ba25ebb8deba7ffa6537e6c1196546604de712 (patch) | |
| tree | 31833607fb181a2e8c9c0160da4fa480321de536 /docs | |
| parent | 62da7699529b57f3bf851ec9258da89be42094dc (diff) | |
| parent | baddb8d3eb856344129fb4b320bd17bba9456477 (diff) | |
Merge branch 'filtron' of https://github.com/return42/searx into filtron
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/conf.py | 7 | ||||
| -rw-r--r-- | docs/user/conf.py | 19 |
2 files changed, 26 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()) diff --git a/docs/user/conf.py b/docs/user/conf.py new file mode 100644 index 000000000..d4bdb576b --- /dev/null +++ b/docs/user/conf.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8; mode: python -*- +"""Configuration for the CDB 15 Infrastruktur book +""" +project = 'Searx User-HB' +version = release = VERSION_STRING + +# Grouping the document tree into LaTeX files. List of tuples +# (source start file, target name, title, +# author, documentclass [howto, manual, or own class]). +latex_documents = [ + ('index' # startdocname + , 'searx-user-hb.tex' # targetname + , '' # take title from .rst + , author # author + , 'howto' # documentclass + , False # toctree_only + ), +] + |