Add algolia search

This commit is contained in:
Sergey Shorokhov 2024-10-29 00:13:59 +03:00
parent bfcb5fbffc
commit e46fba7f67

View File

@ -13,7 +13,7 @@ const config: Config = {
// For GitHub pages deployment, it is often '/<projectName>/' // For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: "/", baseUrl: "/",
deploymentBranch: 'gh-pages', deploymentBranch: "gh-pages",
// GitHub pages deployment config. // GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these. // If you aren't using GitHub pages, you don't need these.
@ -130,6 +130,11 @@ const config: Config = {
theme: prismThemes.github, theme: prismThemes.github,
darkTheme: prismThemes.dracula, darkTheme: prismThemes.dracula,
}, },
algolia: {
appId: "GCT2K03UR1",
apiKey: "41b3073341af875e11a1de96cd00f535",
indexName: "rehldsio",
},
} satisfies Preset.ThemeConfig, } satisfies Preset.ThemeConfig,
}; };