mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00: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:
@@ -41,7 +41,7 @@ into this user account:
|
||||
Create user
|
||||
===========
|
||||
|
||||
.. include:: ../../build/docs/includes/filtron.rst
|
||||
.. kernel-include:: $DOCS_BUILD/includes/filtron.rst
|
||||
:start-after: START create user
|
||||
:end-before: END create user
|
||||
|
||||
@@ -49,7 +49,7 @@ Create user
|
||||
Install go
|
||||
==========
|
||||
|
||||
.. include:: ../../build/docs/includes/filtron.rst
|
||||
.. kernel-include:: $DOCS_BUILD/includes/filtron.rst
|
||||
:start-after: START install go
|
||||
:end-before: END install go
|
||||
|
||||
@@ -61,11 +61,11 @@ Install :origin:`rules.json <utils/templates/etc/filtron/rules.json>` at
|
||||
``/etc/filtron/rules.json`` (see :ref:`Sample configuration of filtron`) and
|
||||
install filtron software and systemd unit:
|
||||
|
||||
.. include:: ../../build/docs/includes/filtron.rst
|
||||
.. kernel-include:: $DOCS_BUILD/includes/filtron.rst
|
||||
:start-after: START install filtron
|
||||
:end-before: END install filtron
|
||||
|
||||
.. include:: ../../build/docs/includes/filtron.rst
|
||||
.. kernel-include:: $DOCS_BUILD/includes/filtron.rst
|
||||
:start-after: START install systemd unit
|
||||
:end-before: END install systemd unit
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ into this user account:
|
||||
Create user
|
||||
===========
|
||||
|
||||
.. include:: ../../build/docs/includes/morty.rst
|
||||
.. kernel-include:: $DOCS_BUILD/includes/morty.rst
|
||||
:start-after: START create user
|
||||
:end-before: END create user
|
||||
|
||||
@@ -50,7 +50,7 @@ Create user
|
||||
Install go
|
||||
==========
|
||||
|
||||
.. include:: ../../build/docs/includes/morty.rst
|
||||
.. kernel-include:: $DOCS_BUILD/includes/morty.rst
|
||||
:start-after: START install go
|
||||
:end-before: END install go
|
||||
|
||||
@@ -60,11 +60,11 @@ Install morty
|
||||
|
||||
Install morty software and systemd unit:
|
||||
|
||||
.. include:: ../../build/docs/includes/morty.rst
|
||||
.. kernel-include:: $DOCS_BUILD/includes/morty.rst
|
||||
:start-after: START install morty
|
||||
:end-before: END install morty
|
||||
|
||||
.. include:: ../../build/docs/includes/morty.rst
|
||||
.. kernel-include:: $DOCS_BUILD/includes/morty.rst
|
||||
:start-after: START install systemd unit
|
||||
:end-before: END install systemd unit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user