Skip to content

A local-first personal finance app

Update docusaurus.config.js

Rich In SQL4628d9805136
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 88654b46a6..fa2bd74352 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -94,6 +94,29 @@ const config = {
],
copyright: `Copyright © ${new Date().getFullYear()} Actual Budget. Built with Docusaurus.`,
},
+ algolia: {
+ // The application ID provided by Algolia
+ appId: 'YOUR_APP_ID',
+
+ // Public API key: it is safe to commit it
+ apiKey: 'YOUR_SEARCH_API_KEY',
+
+ indexName: 'YOUR_INDEX_NAME',
+
+ // Optional: see doc section below
+ contextualSearch: true,
+
+ // Optional: Specify domains where the navigation should occur through window.location instead on history.push. Useful when our Algolia config crawls multiple documentation sites and we want to navigate with window.location.href to them.
+ externalUrlRegex: 'external\\.com|domain\\.com',
+
+ // Optional: Algolia search parameters
+ searchParameters: {},
+
+ // Optional: path for search page that enabled by default (`false` to disable it)
+ searchPagePath: 'search',
+
+ //... other Algolia params
+ },
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,