sijie closed pull request #2231: Add search bar to new site.
URL: https://github.com/apache/incubator-pulsar/pull/2231
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/site2/website/siteConfig.js b/site2/website/siteConfig.js
index a996ebfb16..30ca549552 100644
--- a/site2/website/siteConfig.js
+++ b/site2/website/siteConfig.js
@@ -63,9 +63,10 @@ const siteConfig = {
     {doc: 'client-libraries', label: 'Client libraries'},
     {href: '#community', label: 'Community'},
     {href: '#apache', label: 'Apache'},
-    { search: true },
+    // Determines search bar position among links
+    //{ search: true },
     // Determines language drop down position among links
-    // { languages: true }
+    //{ languages: true }
   ],
 
   // If you have users set above, you add it here:
@@ -75,6 +76,10 @@ const siteConfig = {
   headerIcon: 'img/pulsar.svg',
   footerIcon: 'img/pulsar.svg',
   favicon: 'img/pulsar.ico',
+  algolia: {
+    apiKey: 'd226a455cecdd4bc18a554c1b47e5b52',
+    indexName: 'apache_pulsar',
+  },
 
   /* colors for website */
   colors: {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to