From b9173575e802df5ca245b0677d107542bb26c0b3 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Fri, 23 Nov 2018 22:37:43 +0000 Subject: [PATCH] Deploy website Deploy website version based on c6f3f0958dd164cf5c2ecc45fd4dd91eede81f2a --- docs/en/next/search.html | 12 +++++++++++- docs/en/next/search/index.html | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/docs/en/next/search.html b/docs/en/next/search.html index 7633b34c1a..249c988f04 100644 --- a/docs/en/next/search.html +++ b/docs/en/next/search.html @@ -95,10 +95,20 @@ ... }; +

Customizing the placeholder

+

If you want to change the placeholder (which defaults to Search), add the placeholder field in your config. For example, you may want the search bar to display Ask me something:

+
const siteConfig = {    
+  ...   
+  algolia: {    
+    ... 
+    placeholder: 'Ask me something'
+  },    
+};  
+

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.

-
Last updated on 2018-7-18 by Endilie Yacop Sucipto
Custom PagesNavigation and Sidebars