You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2022/05/31 01:57:08 UTC

[incubator-inlong-website] branch master updated: [INLONG-1831][Website] Add official website content search button (#387)

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

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong-website.git


The following commit(s) were added to refs/heads/master by this push:
     new c919f751a [INLONG-1831][Website] Add official website content search button (#387)
c919f751a is described below

commit c919f751ad7f18fb31c1f11aa86e338a9ca2aff7
Author: John Chever <ch...@gmail.com>
AuthorDate: Tue May 31 09:57:02 2022 +0800

    [INLONG-1831][Website] Add official website content search button (#387)
---
 docusaurus.config.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docusaurus.config.js b/docusaurus.config.js
index 8d070ed55..1d9dac534 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -238,6 +238,12 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
         theme: require('prism-react-renderer/themes/dracula'),
         darkTheme: darkCodeTheme,
       },
+      algolia: {
+        appId: 'YUW9QEL53E',
+        apiKey: '644ca189e445f85a881e4d96307b1f07',
+        indexName: 'inlong',
+        contextualSearch: true,
+      },
     }),
   plugins: [
     'docusaurus-plugin-less',