summaryrefslogtreecommitdiff
path: root/docs/admin/buildhosts.rst
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-06-18 18:52:45 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2020-06-18 18:52:45 +0200
commitbfef2c3b65aea8dd3485e0959e068d460577a841 (patch)
treec57d903449336202f165c5b05f8479abbf1aeabe /docs/admin/buildhosts.rst
parentaa5f947157869f9d53eacd820cc9e5400c95132c (diff)
[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>
Diffstat (limited to 'docs/admin/buildhosts.rst')
-rw-r--r--docs/admin/buildhosts.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/admin/buildhosts.rst b/docs/admin/buildhosts.rst
index b1e787398..a727d25b9 100644
--- a/docs/admin/buildhosts.rst
+++ b/docs/admin/buildhosts.rst
@@ -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