Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

added algolia search

Blue Mouse6352779b053f
diff --git a/docusaurus.config.js b/docusaurus.config.js
index b6ec44edb..d0acfb4d1 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -95,6 +95,11 @@ module.exports = {
],
copyright: `Copyright © 2021-${new Date().getFullYear()} Swetrix. Built with Docusaurus.`,
},
+ algolia: {
+ appId: 'O1G1A8JI1K',
+ apiKey: '4571f2913147bee4d59f82805c995d52',
+ indexName: 'swetrix',
+ },
// prism: {
// theme: lightCodeTheme,
// darkTheme: darkCodeTheme,
@@ -134,15 +139,6 @@ module.exports = {
// },
// };
// },
- // // [
- // // require.resolve('@cmfcmf/docusaurus-search-local'),
- // // {
- // // indexDocs: true,
- // // indexPages: false,
- // // language: ["en", "zh", "ru"],
- // // maxSearchResults: 10,
- // // },
- // // ],
// ],
// i18n: {
// defaultLocale: 'en',