mirror of
https://github.com/searxng/searxng.git
synced 2024-11-26 21:01:01 +00:00
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>
This commit is contained in:
parent
aa3b0265e7
commit
31db843c9c
2 changed files with 10 additions and 5 deletions
8
docs/_themes/searx/static/searx.css
vendored
8
docs/_themes/searx/static/searx.css
vendored
|
@ -90,10 +90,16 @@ div.rst-example {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* code block in figures
|
||||||
|
*/
|
||||||
|
|
||||||
|
div.highlight pre {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
/* Table theme
|
/* Table theme
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
thead, tfoot {
|
thead, tfoot {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1090,10 +1090,9 @@ Templating
|
||||||
|
|
||||||
Templating is suitable for documentation which is created generic at the build
|
Templating is suitable for documentation which is created generic at the build
|
||||||
time. The sphinx-jinja_ extension evaluates jinja_ templates in the :ref:`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
|
environment <make pyenv>` (with searx modules installed). We use this e.g. to
|
||||||
build chapter: :ref:`engines generic`.
|
build chapter: :ref:`engines generic`. Below the jinja directive from the
|
||||||
|
:origin:`docs/admin/engines.rst` is shown:
|
||||||
Here is the content of the :origin:`docs/admin/engines.rst`:
|
|
||||||
|
|
||||||
.. literalinclude:: ../admin/engines.rst
|
.. literalinclude:: ../admin/engines.rst
|
||||||
:language: reST
|
:language: reST
|
||||||
|
|
Loading…
Reference in a new issue