mirror of
https://github.com/foomo/foomo-docs.git
synced 2025-10-16 12:35:40 +00:00
feat: added algolia
This commit is contained in:
parent
99736c216c
commit
6fee8f812f
@ -41,7 +41,7 @@ const config = {
|
||||
}),
|
||||
],
|
||||
],
|
||||
themes: ['@docusaurus/theme-live-codeblock'],
|
||||
themes: ['@docusaurus/theme-live-codeblock'],//, '@docusaurus/theme-search-algolia'],
|
||||
themeConfig:
|
||||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
||||
({
|
||||
@ -50,6 +50,12 @@ const config = {
|
||||
disableSwitch: true,
|
||||
|
||||
},
|
||||
algolia: {
|
||||
appId: '4254BPUI1C',
|
||||
// it is ok, for this one to be public ;)
|
||||
apiKey: '0826397f9f96d70e06e0dba60dd1d858',
|
||||
indexName: 'foomo-docs',
|
||||
},
|
||||
navbar: {
|
||||
title: 'foomo',
|
||||
// logo: {
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
"@docusaurus/core": "^2.0.0-beta.14",
|
||||
"@docusaurus/preset-classic": "^2.0.0-beta.14",
|
||||
"@docusaurus/theme-live-codeblock": "^2.0.0-beta.14",
|
||||
"@docusaurus/theme-search-algolia": "^2.0.0-beta.14",
|
||||
"@mdx-js/react": "^1.6.21",
|
||||
"@svgr/webpack": "^5.5.0",
|
||||
"clsx": "^1.1.1",
|
||||
|
||||
@ -2163,7 +2163,7 @@
|
||||
react-live "2.2.3"
|
||||
tslib "^2.3.1"
|
||||
|
||||
"@docusaurus/theme-search-algolia@2.0.0-beta.14":
|
||||
"@docusaurus/theme-search-algolia@2.0.0-beta.14", "@docusaurus/theme-search-algolia@^2.0.0-beta.14":
|
||||
version "2.0.0-beta.14"
|
||||
resolved "https://registry.yarnpkg.com/@docusaurus/theme-search-algolia/-/theme-search-algolia-2.0.0-beta.14.tgz#0238622324251c42098b2ccada4e19c3e92cd772"
|
||||
integrity sha512-kTQl8vKXn8FAVVkCeN4XvU8PGWZTHToc+35F9GL06b4rv33zL9HaFIRX3nPM1NHC7I8qh+6gGeV0DRKGjO+j2g==
|
||||
|
||||
Loading…
Reference in New Issue
Block a user