Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSarah German <sgerman@gitlab.com>2023-01-25 13:55:59 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2023-01-25 13:55:59 +0300
commitd98ca853a5b291133ca76323616ce3dd9c34693c (patch)
tree572f74ee7a875995c55e6fc1b8b7dc87b135784c /doc
parent911830a6ab2fd270880afef8f4735f31b6974bc8 (diff)
Rename ALGOLIA_SEARCH variable to be more generic
Diffstat (limited to 'doc')
-rw-r--r--doc/docsearch.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/docsearch.md b/doc/docsearch.md
index 93638031..7aa3709a 100644
--- a/doc/docsearch.md
+++ b/doc/docsearch.md
@@ -362,8 +362,10 @@ Production always runs Algolia, but you can build the site with Lunr either loca
### Local environment
-You can compile your local Nanoc site to use a specific search backend by setting the `ALGOLIA_SEARCH` environment variable.
+You can compile your local Nanoc site to use a specific search backend by setting the `SEARCH_BACKEND` environment variable.
-- Use Algolia search: `export ALGOLIA_SEARCH="true"` (or leave this undefined)
-- Use Lunr search: `export ALGOLIA_SEARCH="false"`
+- Use Algolia search: `export SEARCH_BACKEND="algolia"` (or leave this undefined)
+- Use Lunr search: `export SEARCH_BACKEND="lunr"`
- If you do not set this variable before compiling, the build will default to Algolia.
+
+This variable was named `ALGOLIA_SEARCH`, with values of "true" or "false", prior to version 15.9.