mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 02:22:22 +02:00
[fix] buildprocess of docs in LXC (containers)
The $DOCS_BUILD variable (like all BUILD variables) in the lxc environment:: sudo -H ./utils/lxc.sh cmd searx-archlinux make docs is different from running build process in the HOST:: make docs with kernel-include directive we can use the environment variables in the reST documents to address the correct file location of the include. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
aa5f947157
commit
bfef2c3b65
5 changed files with 26 additions and 26 deletions
|
@ -104,21 +104,21 @@ restart the uwsgi application.
|
|||
|
||||
.. group-tab:: Ubuntu / debian
|
||||
|
||||
.. literalinclude:: ../../build/docs/includes/searx.rst
|
||||
.. kernel-include:: $DOCS_BUILD/includes/searx.rst
|
||||
:start-after: START searx uwsgi-description ubuntu-20.04
|
||||
:end-before: END searx uwsgi-description ubuntu-20.04
|
||||
|
||||
|
||||
.. group-tab:: Arch Linux
|
||||
|
||||
.. literalinclude:: ../../build/docs/includes/searx.rst
|
||||
.. kernel-include:: $DOCS_BUILD/includes/searx.rst
|
||||
:start-after: START searx uwsgi-description arch
|
||||
:end-before: END searx uwsgi-description arch
|
||||
|
||||
|
||||
.. group-tab:: Fedora / RHEL
|
||||
|
||||
.. literalinclude:: ../../build/docs/includes/searx.rst
|
||||
.. kernel-include:: $DOCS_BUILD/includes/searx.rst
|
||||
:start-after: START searx uwsgi-description fedora
|
||||
:end-before: END searx uwsgi-description fedora
|
||||
|
||||
|
@ -127,22 +127,22 @@ restart the uwsgi application.
|
|||
|
||||
.. group-tab:: Ubuntu / debian
|
||||
|
||||
.. literalinclude:: ../../build/docs/includes/searx.rst
|
||||
:language: ini
|
||||
.. kernel-include:: $DOCS_BUILD/includes/searx.rst
|
||||
:code: ini
|
||||
:start-after: START searx uwsgi-appini ubuntu-20.04
|
||||
:end-before: END searx uwsgi-appini ubuntu-20.04
|
||||
|
||||
.. group-tab:: Arch Linux
|
||||
|
||||
.. literalinclude:: ../../build/docs/includes/searx.rst
|
||||
:language: ini
|
||||
.. kernel-include:: $DOCS_BUILD/includes/searx.rst
|
||||
:code: ini
|
||||
:start-after: START searx uwsgi-appini arch
|
||||
:end-before: END searx uwsgi-appini arch
|
||||
|
||||
.. group-tab:: Fedora / RHEL
|
||||
|
||||
.. literalinclude:: ../../build/docs/includes/searx.rst
|
||||
:language: ini
|
||||
.. kernel-include:: $DOCS_BUILD/includes/searx.rst
|
||||
:code: ini
|
||||
:start-after: START searx uwsgi-appini fedora
|
||||
:end-before: END searx uwsgi-appini fedora
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue