You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/03/02 09:30:19 UTC

[pulsar-site] branch main updated: feat: search supported

This is an automated email from the ASF dual-hosted git repository.

urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 4735b39  feat: search supported
4735b39 is described below

commit 4735b39eab870f26453fcce2ae7dc222583f1e8f
Author: LiLi <ur...@apache.org>
AuthorDate: Wed Mar 2 17:30:02 2022 +0800

    feat: search supported
    
    Signed-off-by: LiLi <ur...@apache.org>
---
 site2/website-next/docusaurus.config.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/site2/website-next/docusaurus.config.js b/site2/website-next/docusaurus.config.js
index b7c3580..6a132c5 100644
--- a/site2/website-next/docusaurus.config.js
+++ b/site2/website-next/docusaurus.config.js
@@ -342,6 +342,13 @@ module.exports = {
       theme: require("prism-react-renderer/themes/dracula"),
       additionalLanguages: ["powershell", "java", "go", "c", "cpp", "python"],
     },
+    algolia: {
+      apiKey: "d226a455cecdd4bc18a554c1b47e5b52",
+      indexName: "apache_pulsar",
+      algoliaOptions: {
+        facetFilters: ["language:LANGUAGE", "version:VERSION"],
+      },
+    },
   },
   stylesheets: [
     'https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;600&display=swap'