Add search bar to new site.
Add doc search to site version 2.
@@ -63,7 +63,8 @@ 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 }
],
@@ -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: {
