Skip to content

Commit

Permalink
remove algolia (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
nialexsan authored Aug 1, 2023
1 parent 2d73cc7 commit 74c060d
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,35 +486,35 @@ const config = {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
algolia: process.env.ALGOLIA_APP_ID && {
// The application ID provided by Algolia
appId: process.env.ALGOLIA_APP_ID,
// algolia: process.env.ALGOLIA_APP_ID && {
// // The application ID provided by Algolia
// appId: process.env.ALGOLIA_APP_ID,

// Public API key: it is safe to commit it
apiKey: process.env.ALGOLIA_API_KEY,
// // Public API key: it is safe to commit it
// apiKey: process.env.ALGOLIA_API_KEY,

indexName: process.env.ALGOLIA_INDEX_NAME,
// indexName: process.env.ALGOLIA_INDEX_NAME,

// Optional: see doc section below
contextualSearch: true,
// // 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: 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: Replace parts of the item URLs from Algolia. Useful when using the same search index for multiple deployments using a different baseUrl. You can use regexp or string in the `from` param. For example: localhost:3000 vs myCompany.com/docs
// replaceSearchResultPathname: {
// from: '/docs/', // or as RegExp: /\/docs\//
// to: '/',
// },
// // Optional: Replace parts of the item URLs from Algolia. Useful when using the same search index for multiple deployments using a different baseUrl. You can use regexp or string in the `from` param. For example: localhost:3000 vs myCompany.com/docs
// // replaceSearchResultPathname: {
// // from: '/docs/', // or as RegExp: /\/docs\//
// // to: '/',
// // },

// Optional: Algolia search parameters
searchParameters: {},
// // Optional: Algolia search parameters
// searchParameters: {},

// Optional: path for search page that enabled by default (`false` to disable it)
searchPagePath: 'search',
// // Optional: path for search page that enabled by default (`false` to disable it)
// searchPagePath: 'search',

// ... other Algolia params
},
// // ... other Algolia params
// },
}),
plugins: [
function tailwindPlugin() {
Expand Down

1 comment on commit 74c060d

@vercel
Copy link

@vercel vercel bot commented on 74c060d Aug 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.