mirror of
https://github.com/searxng/searxng.git
synced 2025-12-30 07:30:02 +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:
@@ -21,13 +21,13 @@ on build hosts (see :ref:`searx.sh`).::
|
||||
|
||||
This will install packages needed by searx:
|
||||
|
||||
.. include:: ../../build/docs/includes/searx.rst
|
||||
.. kernel-include:: $DOCS_BUILD/includes/searx.rst
|
||||
:start-after: START distro-packages
|
||||
:end-before: END distro-packages
|
||||
|
||||
and packages needed to build docuemtation and run tests:
|
||||
|
||||
.. include:: ../../build/docs/includes/searx.rst
|
||||
.. kernel-include:: $DOCS_BUILD/includes/searx.rst
|
||||
:start-after: START build-packages
|
||||
:end-before: END build-packages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user