You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docusaurus.config.ts
+32Lines changed: 32 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -131,6 +131,38 @@ const config: Config = {
131
131
theme: prismThemes.github,
132
132
darkTheme: prismThemes.dracula,
133
133
},
134
+
algolia: {
135
+
// The application ID provided by Algolia
136
+
appId: 'A4JYP2MKXW',
137
+
138
+
// Public API key: it is safe to commit it
139
+
apiKey: '0672316b5c456df1af027f3b21e7c60c',
140
+
141
+
indexName: 'clsframeworkio',
142
+
143
+
// Optional: see doc section below
144
+
contextualSearch: true,
145
+
146
+
// 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.
147
+
externalUrlRegex: 'external\\.com|domain\\.com',
148
+
149
+
// 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
150
+
replaceSearchResultPathname: {
151
+
from: '/docs/',// or as RegExp: /\/docs\//
152
+
to: '/docs/',
153
+
},
154
+
155
+
// Optional: Algolia search parameters
156
+
searchParameters: {},
157
+
158
+
// Optional: path for search page that enabled by default (`false` to disable it)
159
+
searchPagePath: 'search',
160
+
161
+
// Optional: whether the insights feature is enabled or not on Docsearch (`false` by default)
0 commit comments