on master help sign in
doc: CSS - fix alignment of code block in figure blocks
31db843Markus Heiser
docs/_themes/searx/static/searx.css+7−1
@@ -90,10 +90,16 @@ div.rst-example {
90 }
90 }
91}
91}
92
92
93+/* code block in figures
94+ */
95+
96+div.highlight pre {
97+ text-align: left;
98+}
99+
93/* Table theme
100/* Table theme
94*/
101*/
95
102
96−
97thead, tfoot {
103thead, tfoot {
98 background-color: #fff;
104 background-color: #fff;
99}
105}
docs/dev/reST.rst+3−4
@@ -1090,10 +1090,9 @@ Templating
1090
1090
1091Templating is suitable for documentation which is created generic at the build
1091Templating is suitable for documentation which is created generic at the build
1092time. The sphinx-jinja_ extension evaluates jinja_ templates in the :ref:`build
1092time. The sphinx-jinja_ extension evaluates jinja_ templates in the :ref:`build
1093−environment <make pyenv>` with installed searx modules. We use this e.g. to
1093+environment <make pyenv>` (with searx modules installed). We use this e.g. to
1094−build chapter: :ref:`engines generic`.
1094+build chapter: :ref:`engines generic`. Below the jinja directive from the
1095−
1096−Here is the content of the :origin:`docs/admin/engines.rst`:
1095+:origin:`docs/admin/engines.rst` is shown:
1097
1096
1098.. literalinclude:: ../admin/engines.rst
1097.. literalinclude:: ../admin/engines.rst
1099 :language: reST
1098 :language: reST