summaryrefslogtreecommitdiff
path: root/docs/admin/installation-searx.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/installation-searx.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/installation-searx.rst')
-rw-r--r--docs/admin/installation-searx.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/admin/installation-searx.rst b/docs/admin/installation-searx.rst
index d5c0063ee..f1d486021 100644
--- a/docs/admin/installation-searx.rst
+++ b/docs/admin/installation-searx.rst
@@ -17,7 +17,7 @@ universe repository.
Install packages
================
-.. include:: ../../build/docs/includes/searx.rst
+.. kernel-include:: $DOCS_BUILD/includes/searx.rst
:start-after: START distro-packages
:end-before: END distro-packages
@@ -30,7 +30,7 @@ Install packages
Create user
===========
-.. include:: ../../build/docs/includes/searx.rst
+.. kernel-include:: $DOCS_BUILD/includes/searx.rst
:start-after: START create user
:end-before: END create user
@@ -41,13 +41,13 @@ install searx & dependencies
Start a interactive shell from new created user and clone searx:
-.. include:: ../../build/docs/includes/searx.rst
+.. kernel-include:: $DOCS_BUILD/includes/searx.rst
:start-after: START clone searx
:end-before: END clone searx
In the same shell create *virtualenv*:
-.. include:: ../../build/docs/includes/searx.rst
+.. kernel-include:: $DOCS_BUILD/includes/searx.rst
:start-after: START create virtualenv
:end-before: END create virtualenv
@@ -55,7 +55,7 @@ To install searx's dependencies, exit the searx *bash* session you opened above
and restart a new. Before install, first check if your *virualenv* was sourced
from the login (*~/.profile*):
-.. include:: ../../build/docs/includes/searx.rst
+.. kernel-include:: $DOCS_BUILD/includes/searx.rst
:start-after: START manage.sh update_packages
:end-before: END manage.sh update_packages
@@ -71,7 +71,7 @@ Create a copy of the :origin:`searx/settings.yml` configuration file in system's
*/etc* folder. Configure like shown below -- replace ``searx@\$(uname -n)`` with
a name of your choice -- *and/or* edit ``/etc/searx/settings.yml`` if necessary.
-.. include:: ../../build/docs/includes/searx.rst
+.. kernel-include:: $DOCS_BUILD/includes/searx.rst
:start-after: START searx config
:end-before: END searx config
@@ -82,7 +82,7 @@ To check your searx setup, optional enable debugging and start the *webapp*.
Searx looks at the exported environment ``$SEARX_SETTINGS_PATH`` for a
configuration file.
-.. include:: ../../build/docs/includes/searx.rst
+.. kernel-include:: $DOCS_BUILD/includes/searx.rst
:start-after: START check searx installation
:end-before: END check searx installation