From eaab26a7ea7cf2ee819ada05c83af4aa040dc90c Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Mon, 12 Mar 2018 23:31:42 +0000 Subject: [PATCH] Deploy website Deploy website version based on c02ed98ea44e4d9120085427766fe6af4d245be9 --- docs/en/search.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en/search.html b/docs/en/search.html index effe57a3cb..f8767fa964 100644 --- a/docs/en/search.html +++ b/docs/en/search.html @@ -5,7 +5,7 @@ nav.classList.toggle('docsSliderActive'); };
Edit

Enabling Search

Docusaurus supports search using Algolia DocSearch. Once you have set up your site, enter your site information to have Algolia crawl your website's documentation pages. Algolia will then send you an API key and index name for your site.

-

Enabling the Search Bar

+

Enabling the Search Bar

Enter your search-only API key and index name into siteConfig.js in the algolia section to enable search for your site.

const siteConfig = {
   ...
@@ -16,7 +16,7 @@
   ...
 }
 
-

Extra Search Options

+

Extra Search Options

You can also specify extra search options used by Algolia by using an algoliaOptions field in algolia. This may be useful if you want to provide different search results for the different versions or languages of your docs. Any occurrences of "VERSION" or "LANGUAGE" will be replaced by the version or language of the current page, respectively. More details about search options can be found here.

const siteConfig = {
   ...
@@ -29,7 +29,7 @@
   },
 }
 
-

Controlling the Location of the Search Bar

+

Controlling the Location of the Search Bar

By default, the search bar will be the rightmost element in the top navigation bar.

If you want to change the default location, add the searchBar flag in the headerLinks field of siteConfig.js in your desired location. For example, you may want the search bar in between your internal and external links.

const siteConfig = {
@@ -44,10 +44,10 @@
   ...
 }
 
-

Disabling the Search Bar

+

Disabling the Search Bar

To disable the search bar, comment out (recommended) or delete the algolia section in the siteConfig.js file.

Also, if you have customized the location of the search bar in headerLinks, set search: false.

-