summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2019-12-22 14:08:57 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2019-12-22 14:08:57 +0100
commit31db843c9c1f66da4ab2f8f23f969a0671ae6e65 (patch)
tree5397687ef14941fb6606a40fe136bf65c0373b3e /docs
parentaa3b0265e761eec07055d8f248d677a5cb4e8725 (diff)
downloadsearxng-31db843c9c1f66da4ab2f8f23f969a0671ae6e65.tar.gz
searxng-31db843c9c1f66da4ab2f8f23f969a0671ae6e65.zip
doc: CSS - fix alignment of code block in figure blocks
BTW: minor profread of reST.rst Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs')
-rw-r--r--docs/_themes/searx/static/searx.css8
-rw-r--r--docs/dev/reST.rst7
2 files changed, 10 insertions, 5 deletions
diff --git a/docs/_themes/searx/static/searx.css b/docs/_themes/searx/static/searx.css
index 347fc71ab..05bbb49da 100644
--- a/docs/_themes/searx/static/searx.css
+++ b/docs/_themes/searx/static/searx.css
@@ -90,10 +90,16 @@ div.rst-example {
}
}
+/* code block in figures
+ */
+
+div.highlight pre {
+ text-align: left;
+}
+
/* Table theme
*/
-
thead, tfoot {
background-color: #fff;
}
diff --git a/docs/dev/reST.rst b/docs/dev/reST.rst
index 9e90c8c64..ff76ea91e 100644
--- a/docs/dev/reST.rst
+++ b/docs/dev/reST.rst
@@ -1090,10 +1090,9 @@ Templating
Templating is suitable for documentation which is created generic at the build
time. The sphinx-jinja_ extension evaluates jinja_ templates in the :ref:`build
-environment <make pyenv>` with installed searx modules. We use this e.g. to
-build chapter: :ref:`engines generic`.
-
-Here is the content of the :origin:`docs/admin/engines.rst`:
+environment <make pyenv>` (with searx modules installed). We use this e.g. to
+build chapter: :ref:`engines generic`. Below the jinja directive from the
+:origin:`docs/admin/engines.rst` is shown:
.. literalinclude:: ../admin/engines.rst
:language: reST