on master help sign in
doc: use customized pocoo theme (pallets-sphinx-themes)

The old searx theme was a copy of the flask theme. In the meantime this theme is available from the python module pallets-sphinx-themes. This patch makes pallets-sphinx-themes as a (dev) requirement and drops most of the old and obsolete searx theme settings/files. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>

commit25fa7da6c8276ed8958793e1b88071eab6b413f5 authorMarkus Heiser <markus.heiser@darmarit.de> dateWed 4 Dec 2019, 15:27 (7 years ago) parentef85943
9 files changed+70−822
docs/_themes/searx/static/searx.css+15 docs/_themes/searx/theme.conf+6 docs/_themes/searx_theme/layout.html−20 docs/_themes/searx_theme/relations.html−14 docs/_themes/searx_theme/static/style.css_t−443 docs/_themes/searx_theme/theme.conf−7 docs/conf.py+45−338 docs/index.rst+1 requirements-dev.txt+3
docs/_themes/searx/static/searx.cssnew file+15
@@ -0,0 +1,15 @@
1+@import url("pocoo.css");
2+
3+a, a.reference, a.footnote-reference {
4+ color: #004b6b;
5+ border-color: #004b6b;
6+}
7+
8+a:hover {
9+ color: #6d4100;
10+ border-color: #6d4100;
11+}
12+
13+p.version-warning {
14+ background-color: #004b6b;
15+}
docs/_themes/searx/theme.confnew file+6
@@ -0,0 +1,6 @@
1+[theme]
2+inherit = pocoo
3+stylesheet = searx.css
4+
5+[options]
6+touch_icon =
docs/_themes/searx_theme/layout.htmldeleted−20
@@ -1,20 +0,0 @@
1−{%- extends "basic/layout.html" %}
2−{%- block extrahead %}
3− {{ super() }}
4− {% if theme_touch_icon %}
5− <link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}" />
6− {% endif %}
7− <link media="only screen and (max-device-width: 480px)" href="{{
8− pathto('_static/small_flask.css', 1) }}" type= "text/css" rel="stylesheet" />
9− <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
10−{% endblock %}
11−{%- block relbar2 %}{% endblock %}
12−{%- block relbar1 %}{% endblock %}
13−{%- block sidebarsearch %}{% endblock %}
14−{%- block sidebarsourcelink %}{% endblock %}
15−{%- block sidebartoc %}{% endblock %}
16−{%- block footer %}
17− <div class="footer">
18− &copy; Copyright {{ copyright }}.
19− </div>
20−{%- endblock %}
docs/_themes/searx_theme/relations.htmldeleted−14
@@ -1,14 +0,0 @@
1−<div class="sidebar_container body">
2−<h1>Searx</h1>
3−<ul>
4− <li><a href="{{ pathto('index') }}">Home</a></li>
5− <li><a href="https://github.com/asciimoo/searx">Source</a></li>
6− <li><a href="{{ pathto('blog/blog') }}">Blog</a></li>
7− <li><a href="https://github.com/asciimoo/searx/wiki">Wiki</a></li>
8− <li><a href="https://github.com/asciimoo/searx/wiki/Searx-instances">Public instances</a></li>
9−</ul>
10−<hr />
11−<ul>
12− <li><a href="https://twitter.com/Searx_engine">Twitter</a></li>
13−</ul>
14−</div>
docs/_themes/searx_theme/static/style.css_tdeleted−443
@@ -1,443 +0,0 @@
1−/*
2− * flasky.css_t
3− * ~~~~~~~~~~~~
4− *
5− * :copyright: Copyright 2010 by Armin Ronacher. Modifications by Kenneth Reitz.
6− * :license: Flask Design License, see LICENSE for details.
7− */
8−
9−{% set page_width = '940px' %}
10−{% set sidebar_width = '220px' %}
11−
12−@import url("basic.css");
13−
14−/* -- page layout ----------------------------------------------------------- */
15−
16−body {
17− font-family: 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro';
18− font-size: 17px;
19− background-color: white;
20− color: #000;
21− margin: 0;
22− padding: 0;
23−}
24−
25−div.document {
26− width: {{ page_width }};
27− margin: 30px auto 0 auto;
28−}
29−
30−div.documentwrapper {
31− float: left;
32− width: 100%;
33−}
34−
35−div.bodywrapper {
36− margin: 0 0 0 {{ sidebar_width }};
37−}
38−
39−div.sphinxsidebar {
40− width: {{ sidebar_width }};
41− word-wrap: normal !important;
42− overflow-wrap: normal !important;
43−}
44−
45−hr {
46− border: 1px solid #B1B4B6;
47−}
48−
49−div.body {
50− background-color: #ffffff;
51− color: #3E4349;
52− padding: 0 30px 0 30px;
53−}
54−
55−img.floatingflask {
56− padding: 0 0 10px 10px;
57− float: right;
58−}
59−
60−div.footer {
61− width: {{ page_width }};
62− margin: 20px auto 30px auto;
63− font-size: 14px;
64− color: #888;
65− text-align: right;
66−}
67−
68−div.footer a {
69− color: #888;
70−}
71−
72−div.sphinxsidebar a {
73− color: #444;
74− text-decoration: none;
75− border-bottom: 1px dotted #999;
76−}
77−
78−div.sphinxsidebar a:hover {
79− border-bottom: 1px solid #999;
80−}
81−
82−div.sphinxsidebarwrapper {
83− padding: 0 10px;
84−}
85−
86−div.sphinxsidebarwrapper p.logo {
87− padding: 0;
88− margin: -10px 0 0 -20px;
89− text-align: center;
90−}
91−
92−div.sphinxsidebar h3,
93−div.sphinxsidebar h4 {
94− font-family: 'Garamond', 'Georgia', serif;
95− color: #444;
96− font-size: 24px;
97− font-weight: normal;
98− margin: 0 0 5px 0;
99− padding: 0;
100−}
101−
102−div.sphinxsidebar h4 {
103− font-size: 20px;
104−}
105−
106−div.sphinxsidebar h3 a {
107− color: #444;
108−}
109−
110−div.sphinxsidebar p.logo a,
111−div.sphinxsidebar h3 a,
112−div.sphinxsidebar p.logo a:hover,
113−div.sphinxsidebar h3 a:hover {
114− border: none;
115−}
116−
117−div.sphinxsidebar p {
118− color: #555;
119− margin: 10px 0;
120−}
121−
122−div.sphinxsidebar ul {
123− margin: 10px 0;
124− padding: 0;
125− color: #000;
126−}
127−
128−div.sphinxsidebar input {
129− border: 1px solid #ccc;
130− font-family: 'Georgia', serif;
131− font-size: 1em;
132−}
133−
134−/* -- body styles ----------------------------------------------------------- */
135−
136−a {
137− color: #004B6B;
138− text-decoration: underline;
139−}
140−
141−a:hover {
142− color: #6D4100;
143− text-decoration: underline;
144−}
145−
146−div.body h1,
147−div.body h2,
148−div.body h3,
149−div.body h4,
150−div.body h5,
151−div.body h6 {
152− font-family: 'Garamond', 'Georgia', serif;
153− font-weight: normal;
154− margin: 30px 0px 10px 0px;
155− padding: 0;
156−}
157−
158−div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; }
159−div.body h2 { font-size: 180%; }
160−div.body h3 { font-size: 150%; }
161−div.body h4 { font-size: 130%; }
162−div.body h5 { font-size: 100%; }
163−div.body h6 { font-size: 100%; }
164−
165−a.headerlink {
166− color: #ddd;
167− padding: 0 4px;
168− text-decoration: none;
169−}
170−
171−a.headerlink:hover {
172− color: #444;
173− background: #eaeaea;
174−}
175−
176−div.body p, div.body dd, div.body li {
177− line-height: 1.4em;
178−}
179−
180−div.admonition {
181− background: #fafafa;
182− margin: 20px -30px;
183− padding: 10px 30px;
184− border-top: 1px solid #ccc;
185− border-bottom: 1px solid #ccc;
186−}
187−
188−div.admonition tt.xref, div.admonition a tt {
189− border-bottom: 1px solid #fafafa;
190−}
191−
192−dd div.admonition {
193− margin-left: -60px;
194− padding-left: 60px;
195−}
196−
197−div.admonition p.admonition-title {
198− font-family: 'Garamond', 'Georgia', serif;
199− font-weight: normal;
200− font-size: 24px;
201− margin: 0 0 10px 0;
202− padding: 0;
203− line-height: 1;
204−}
205−
206−div.admonition p.last {
207− margin-bottom: 0;
208−}
209−
210−div.highlight {
211− background-color: white;
212−}
213−
214−dt:target, .highlight {
215− background: #FAF3E8;
216−}
217−
218−div.note {
219− background-color: #eee;
220− border: 1px solid #ccc;
221−}
222−
223−div.seealso {
224− background-color: #ffc;
225− border: 1px solid #ff6;
226−}
227−
228−div.topic {
229− background-color: #eee;
230−}
231−
232−p.admonition-title {
233− display: inline;
234−}
235−
236−p.admonition-title:after {
237− content: ":";
238−}
239−
240−pre, tt {
241− font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
242− font-size: 0.9em;
243−}
244−
245−img.screenshot {
246−}
247−
248−tt.descname, tt.descclassname {
249− font-size: 0.95em;
250−}
251−
252−tt.descname {
253− padding-right: 0.08em;
254−}
255−
256−img.screenshot {
257− -moz-box-shadow: 2px 2px 4px #eee;
258− -webkit-box-shadow: 2px 2px 4px #eee;
259− box-shadow: 2px 2px 4px #eee;
260−}
261−
262−table.docutils {
263− border: 1px solid #888;
264− -moz-box-shadow: 2px 2px 4px #eee;
265− -webkit-box-shadow: 2px 2px 4px #eee;
266− box-shadow: 2px 2px 4px #eee;
267−}
268−
269−table.docutils td, table.docutils th {
270− border: 1px solid #888;
271− padding: 0.25em 0.7em;
272−}
273−
274−table.field-list, table.footnote {
275− border: none;
276− -moz-box-shadow: none;
277− -webkit-box-shadow: none;
278− box-shadow: none;
279−}
280−
281−table.footnote {
282− margin: 15px 0;
283− width: 100%;
284− border: 1px solid #eee;
285− background: #fdfdfd;
286− font-size: 0.9em;
287−}
288−
289−table.footnote + table.footnote {
290− margin-top: -15px;
291− border-top: none;
292−}
293−
294−table.field-list th {
295− padding: 0 0.8em 0 0;
296−}
297−
298−table.field-list td {
299− padding: 0;
300−}
301−
302−table.footnote td.label {
303− width: 0px;
304− padding: 0.3em 0 0.3em 0.5em;
305−}
306−
307−table.footnote td {
308− padding: 0.3em 0.5em;
309−}
310−
311−dl {
312− margin: 0;
313− padding: 0;
314−}
315−
316−dl dd {
317− margin-left: 30px;
318−}
319−
320−blockquote {
321− margin: 0 0 0 30px;
322− padding: 0;
323−}
324−
325−ul, ol {
326− margin: 10px 0 10px 30px;
327− padding: 0;
328−}
329−
330−pre {
331− background: #eee;
332− padding: 7px 30px;
333− margin: 15px -30px;
334− line-height: 1.3em;
335−}
336−
337−dl pre, blockquote pre, li pre {
338− margin-left: -60px;
339− padding-left: 60px;
340−}
341−
342−dl dl pre {
343− margin-left: -90px;
344− padding-left: 90px;
345−}
346−
347−tt {
348− background-color: #ecf0f3;
349− color: #222;
350− /* padding: 1px 2px; */
351−}
352−
353−tt.xref, a tt {
354− background-color: #FBFBFB;
355− border-bottom: 1px solid white;
356−}
357−
358−a.reference {
359− text-decoration: none;
360− border-bottom: 1px dotted #004B6B;
361−}
362−
363−a.reference:hover {
364− border-bottom: 1px solid #6D4100;
365−}
366−
367−a.footnote-reference {
368− text-decoration: none;
369− font-size: 0.7em;
370− vertical-align: top;
371− border-bottom: 1px dotted #004B6B;
372−}
373−
374−a.footnote-reference:hover {
375− border-bottom: 1px solid #6D4100;
376−}
377−
378−a:hover tt {
379− background: #EEE;
380−}
381−
382−
383−@media screen and (max-width: 600px) {
384−
385− div.document {
386− width: 100%;
387−
388− }
389−
390− div.documentwrapper {
391− margin-left: 0;
392− margin-top: 0;
393− margin-right: 0;
394− margin-bottom: 0;
395− }
396−
397− div.bodywrapper {
398− margin-top: 0;
399− margin-right: 0;
400− margin-bottom: 0;
401− margin-left: 0;
402− }
403−
404− ul {
405− margin-left: 0;
406− }
407−
408− .document {
409− width: auto;
410− }
411−
412− .footer {
413− width: auto;
414− }
415−
416− .bodywrapper {
417− margin: 0;
418− }
419−
420− .footer {
421− width: auto;
422− }
423−
424− div.sphinxsidebar {
425− display: none;
426− }
427−
428−}
429−
430−div.sidebar_container, div.sidebar_container h1 {
431−}
432−
433−div.sidebar_container h1 {
434− padding: 0;
435− margin: 0;
436− font-size: 350%;
437− line-height: 100%;
438−}
439−
440−div.sidebar_container ul li {
441− padding: 2px 8px;
442− font-size: 0.9em;
443−}
docs/_themes/searx_theme/theme.confdeleted−7
@@ -1,7 +0,0 @@
1−[theme]
2−inherit = basic
3−stylesheet = style.css
4−pygments_style = flask_theme_support.FlaskyStyle
5−
6−[options]
7−touch_icon =
docs/conf.py+45−338
@@ -1,358 +1,65 @@
11# -*- coding: utf-8 -*-
2−#
3−# searx documentation build configuration file, created by
4−# sphinx-quickstart on Tue Nov 17 17:12:13 2015.
5−#
6−# This file is execfile()d with the current directory set to its
7−# containing dir.
8−#
9−# Note that not all possible configuration values are present in this
10−# autogenerated file.
11−#
12−# All configuration values have a default; values that are commented out
13−# serve to show the default.
142
15−import sys
16−import os
17−import shlex
3+import sys, os
4+from searx.version import VERSION_STRING
5+from pallets_sphinx_themes import ProjectLink
186
19−# If extensions (or modules to document with autodoc) are in another directory,
20−# add these directories to sys.path here. If the directory is relative to the
21−# documentation root, use os.path.abspath to make it absolute, like shown here.
22−#sys.path.insert(0, os.path.abspath('.'))
7+# Project --------------------------------------------------------------
238
24−# -- General configuration ------------------------------------------------
25−
26−# If your documentation needs a minimal Sphinx version, state it here.
27−#needs_sphinx = '1.0'
28−
29−# Add any Sphinx extension module names here, as strings. They can be
30−# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
31−# ones.
32−extensions = [
33− 'sphinx.ext.viewcode',
34−]
35−
36−# Add any paths that contain templates here, relative to this directory.
37−templates_path = ['_templates']
38−
39−# The suffix(es) of source filenames.
40−# You can specify multiple suffix as a list of string:
41−# source_suffix = ['.rst', '.md']
42−source_suffix = '.rst'
43−
44−# The encoding of source files.
45−#source_encoding = 'utf-8-sig'
46−
47−# The master toctree document.
48−master_doc = 'index'
49−
50−# General information about the project.
519project = u'searx'
5210copyright = u'2015-2019, Adam Tauber, Noémi Ványi'
5311author = u'Adam Tauber'
12+release, version = VERSION_STRING, VERSION_STRING
5413
55−# The version info for the project you're documenting, acts as replacement for
56−# |version| and |release|, also used in various other places throughout the
57−# built documents.
58−#
59−# The short X.Y version.
60−version = '0.12.0'
61−# The full version, including alpha/beta/rc tags.
62−release = '0.12.0'
63−
64−# The language for content autogenerated by Sphinx. Refer to documentation
65−# for a list of supported languages.
66−#
67−# This is also used if you do content translation via gettext catalogs.
68−# Usually you set "language" from the command line for these cases.
69−language = None
14+# General --------------------------------------------------------------
7015
71−# There are two options for replacing |today|: either, you set today to some
72−# non-false value, then it is used:
73−#today = ''
74−# Else, today_fmt is used as the format for a strftime call.
75−#today_fmt = '%B %d, %Y'
76−
77−# List of patterns, relative to source directory, that match files and
78−# directories to ignore when looking for source files.
79−exclude_patterns = []
80−
81−# The reST default role (used for this markup: `text`) to use for all
82−# documents.
83−#default_role = None
84−
85−# If true, '()' will be appended to :func: etc. cross-reference text.
86−#add_function_parentheses = True
87−
88−# If true, the current module name will be prepended to all description
89−# unit titles (such as .. function::).
90−#add_module_names = True
91−
92−# If true, sectionauthor and moduleauthor directives will be shown in the
93−# output. They are ignored by default.
94−#show_authors = False
95−
96−# The name of the Pygments (syntax highlighting) style to use.
97−pygments_style = 'sphinx'
98−
99−# A list of ignored prefixes for module index sorting.
100−#modindex_common_prefix = []
16+master_doc = "index"
17+source_suffix = '.rst'
10118
102−# If true, keep warnings as "system message" paragraphs in the built documents.
103−#keep_warnings = False
19+extensions = [
20+ 'sphinx.ext.viewcode',
21+ "sphinx.ext.autodoc",
22+ "sphinx.ext.intersphinx",
23+ "pallets_sphinx_themes",
24+ "sphinx_issues", # https://github.com/sloria/sphinx-issues/blob/master/README.rst
25+]
10426
105−# If true, `todo` and `todoList` produce output, else they produce nothing.
106−todo_include_todos = False
27+intersphinx_mapping = {
28+ "python": ("https://docs.python.org/3/", None),
29+ # "flask": ("https://flask.palletsprojects.com/", None),
30+ # "werkzeug": ("https://werkzeug.palletsprojects.com/", None),
31+ # "jinja": ("https://jinja.palletsprojects.com/", None),
32+}
10733
34+issues_github_path = "asciimoo/searx"
10835
109−# -- Options for HTML output ----------------------------------------------
36+# HTML -----------------------------------------------------------------
11037
111−# The theme to use for HTML and HTML Help pages. See the documentation for
112−# a list of builtin themes.
11338sys.path.append(os.path.abspath('_themes'))
114−html_theme_path = ['_themes']
115−html_theme = 'searx_theme'
116−
117−# Theme options are theme-specific and customize the look and feel of a theme
118−# further. For a list of options available for each theme, see the
119−# documentation.
120−#html_theme_options = {}
121−
122−# Add any paths that contain custom themes here, relative to this directory.
123−#html_theme_path = []
124−
125−# The name for this set of Sphinx documents. If None, it defaults to
126−# "<project> v<release> documentation".
127−#html_title = None
128−
129−# A shorter title for the navigation bar. Default is the same as html_title.
130−#html_short_title = None
131−
132−# The name of an image file (relative to this directory) to place at the top
133−# of the sidebar.
134−#html_logo = None
135−
136−# The name of an image file (within the static path) to use as favicon of the
137−# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
138−# pixels large.
139−#html_favicon = None
140−
141−# Add any paths that contain custom static files (such as style sheets) here,
142−# relative to this directory. They are copied after the builtin static files,
143−# so a file named "default.css" will overwrite the builtin "default.css".
144−html_static_path = ['static']
145−
146−# Add any extra paths that contain custom files (such as robots.txt or
147−# .htaccess) here, relative to this directory. These files are copied
148−# directly to the root of the documentation.
149−#html_extra_path = []
150−
151−# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
152−# using the given strftime format.
153−#html_last_updated_fmt = '%b %d, %Y'
154−
155−# If true, SmartyPants will be used to convert quotes and dashes to
156−# typographically correct entities.
157−#html_use_smartypants = True
158−
159−# Custom sidebar templates, maps document names to template names.
160−#html_sidebars = {}
161−
162−# Additional templates that should be rendered to pages, maps page names to
163−# template names.
164−#html_additional_pages = {}
165−
166−# If false, no module index is generated.
167−#html_domain_indices = True
168−
169−# If false, no index is generated.
170−#html_use_index = True
171−
172−# If true, the index is split into individual pages for each letter.
173−#html_split_index = False
174−
175−# If true, links to the reST sources are added to the pages.
176−#html_show_sourcelink = True
177−
178−# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
179−#html_show_sphinx = True
180−
181−# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
182−#html_show_copyright = True
183−
184−# If true, an OpenSearch description file will be output, and all pages will
185−# contain a <link> tag referring to it. The value of this option must be the
186−# base URL from which the finished HTML is served.
187−#html_use_opensearch = ''
188−
189−# This is the file name suffix for HTML files (e.g. ".xhtml").
190−#html_file_suffix = None
191−
192−# Language to be used for generating the HTML full-text search index.
193−# Sphinx supports the following languages:
194−# 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'
195−# 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr'
196−#html_search_language = 'en'
197−
198−# A dictionary with options for the search language support, empty by default.
199−# Now only 'ja' uses this config value
200−#html_search_options = {'type': 'default'}
201−
202−# The name of a javascript file (relative to the configuration directory) that
203−# implements a search results scorer. If empty, the default will be used.
204−#html_search_scorer = 'scorer.js'
20539
206−# Output file base name for HTML help builder.
207−htmlhelp_basename = 'searxdoc'
208−
209−# -- Options for LaTeX output ---------------------------------------------
210−
211−latex_elements = {
212−# The paper size ('letterpaper' or 'a4paper').
213−#'papersize': 'letterpaper',
214−
215−# The font size ('10pt', '11pt' or '12pt').
216−#'pointsize': '10pt',
217−
218−# Additional stuff for the LaTeX preamble.
219−#'preamble': '',
220−
221−# Latex figure (float) alignment
222−#'figure_align': 'htbp',
40+html_theme_path = ['_themes']
41+html_theme = "searx"
42+
43+html_theme_options = {"index_sidebar_logo": True}
44+html_context = {
45+ "project_links": [
46+ ProjectLink("Source", os.environ.get("GIT_URL", "https://github.com/asciimoo")),
47+ ProjectLink("Wiki", "https://github.com/asciimoo/searx/wiki"),
48+ ProjectLink("Public instances", "https://github.com/asciimoo/searx/wiki/Searx-instances"),
49+ ProjectLink("Twitter", "https://twitter.com/Searx_engine"),
50+ ]
22351}
52+html_sidebars = {
53+ "**": ["project.html", "relations.html", "searchbox.html"],
54+}
55+singlehtml_sidebars = {"index": ["project.html", "localtoc.html"]}
56+html_static_path = ["static"]
57+html_logo = "static/img/searx_logo_small.png"
58+html_title = "Searx Documentation ({})".format("Searx-{}.tex".format(VERSION_STRING))
59+html_show_sourcelink = False
22460
225−# Grouping the document tree into LaTeX files. List of tuples
226−# (source start file, target name, title,
227−# author, documentclass [howto, manual, or own class]).
228−latex_documents = [
229− (master_doc, 'searx.tex', u'searx Documentation',
230− u'Adam Tauber', 'manual'),
231−]
232−
233−# The name of an image file (relative to this directory) to place at the top of
234−# the title page.
235−#latex_logo = None
236−
237−# For "manual" documents, if this is true, then toplevel headings are parts,
238−# not chapters.
239−#latex_use_parts = False
240−
241−# If true, show page references after internal links.
242−#latex_show_pagerefs = False
243−
244−# If true, show URL addresses after external links.
245−#latex_show_urls = False
246−
247−# Documents to append as an appendix to all manuals.
248−#latex_appendices = []
249−
250−# If false, no module index is generated.
251−#latex_domain_indices = True
252−
253−
254−# -- Options for manual page output ---------------------------------------
255−
256−# One entry per manual page. List of tuples
257−# (source start file, name, description, authors, manual section).
258−man_pages = [
259− (master_doc, 'searx', u'searx Documentation',
260− [author], 1)
261−]
262−
263−# If true, show URL addresses after external links.
264−#man_show_urls = False
265−
266−
267−# -- Options for Texinfo output -------------------------------------------
61+# LaTeX ----------------------------------------------------------------
26862
269−# Grouping the document tree into Texinfo files. List of tuples
270−# (source start file, target name, title, author,
271−# dir menu entry, description, category)
272−texinfo_documents = [
273− (master_doc, 'searx', u'searx Documentation',
274− author, 'searx', 'One line description of project.',
275− 'Miscellaneous'),
63+latex_documents = [
64+ (master_doc, "searx-{}.tex".format(VERSION_STRING), html_title, author, "manual")
27665]
277−
278−# Documents to append as an appendix to all manuals.
279−#texinfo_appendices = []
280−
281−# If false, no module index is generated.
282−#texinfo_domain_indices = True
283−
284−# How to display URL addresses: 'footnote', 'no', or 'inline'.
285−#texinfo_show_urls = 'footnote'
286−
287−# If true, do not generate a @detailmenu in the "Top" node's menu.
288−#texinfo_no_detailmenu = False
289−
290−
291−# -- Options for Epub output ----------------------------------------------
292−
293−# Bibliographic Dublin Core info.
294−epub_title = project
295−epub_author = author
296−epub_publisher = author
297−epub_copyright = copyright
298−
299−# The basename for the epub file. It defaults to the project name.
300−#epub_basename = project
301−
302−# The HTML theme for the epub output. Since the default themes are not optimized
303−# for small screen space, using the same theme for HTML and epub output is
304−# usually not wise. This defaults to 'epub', a theme designed to save visual
305−# space.
306−#epub_theme = 'epub'
307−
308−# The language of the text. It defaults to the language option
309−# or 'en' if the language is not set.
310−#epub_language = ''
311−
312−# The scheme of the identifier. Typical schemes are ISBN or URL.
313−#epub_scheme = ''
314−
315−# The unique identifier of the text. This can be a ISBN number
316−# or the project homepage.
317−#epub_identifier = ''
318−
319−# A unique identification for the text.
320−#epub_uid = ''
321−
322−# A tuple containing the cover image and cover page html template filenames.
323−#epub_cover = ()
324−
325−# A sequence of (type, uri, title) tuples for the guide element of content.opf.
326−#epub_guide = ()
327−
328−# HTML files that should be inserted before the pages created by sphinx.
329−# The format is a list of tuples containing the path and title.
330−#epub_pre_files = []
331−
332−# HTML files shat should be inserted after the pages created by sphinx.
333−# The format is a list of tuples containing the path and title.
334−#epub_post_files = []
335−
336−# A list of files that should not be packed into the epub file.
337−epub_exclude_files = ['search.html']
338−
339−# The depth of the table of contents in toc.ncx.
340−#epub_tocdepth = 3
341−
342−# Allow duplicate toc entries.
343−#epub_tocdup = True
344−
345−# Choose between 'default' and 'includehidden'.
346−#epub_tocscope = 'default'
347−
348−# Fix unsupported image types using the Pillow.
349−#epub_fix_images = False
350−
351−# Scale large images.
352−#epub_max_image_width = 0
353−
354−# How to display URL addresses: 'footnote', 'no', or 'inline'.
355−#epub_show_urls = 'inline'
356−
357−# If false, no index is generated.
358−#epub_use_index = True
docs/index.rst+1
@@ -41,6 +41,7 @@ Administrator documentation
4141 admin/api
4242 admin/filtron
4343 admin/morty
44+ blog/blog
4445
4546Developer documentation
4647-----------------------
requirements-dev.txt+3
@@ -1,3 +1,6 @@
1+pallets-sphinx-themes
2+Sphinx
3+sphinx-issues
14mock==2.0.0
25nose2[coverage_plugin]
36cov-core==1.15.0