added credentials

This commit is contained in:
Jonas_Jones 2025-01-08 16:29:50 +01:00
parent 6b60da7060
commit 3a9982c2ac
2 changed files with 24 additions and 2 deletions

View file

@ -63,6 +63,27 @@ const config = {
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
algolia: {
// The application ID provided by Algolia
appId: '59JHI8GRGH',
// Public API key: it is safe to commit it
apiKey: '87a26fafb2fb30c39503a44b80fad4cf',
indexName: 'jonasjones',
// 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: 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: '/',
//},
},
prism: {
additionalLanguages: ['properties', 'ini', 'powershell', 'bash', 'yaml'],
},

View file

@ -15,14 +15,15 @@
},
"dependencies": {
"@cmfcmf/docusaurus-search-local": "^1.2.0",
"@docsearch/js": "^3.8.2",
"@docusaurus/core": "3.5.2",
"@docusaurus/preset-classic": "3.5.2",
"@mdx-js/react": "^3.0.0",
"cheerio": "^1.0.0-rc.12",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"cheerio": "^1.0.0-rc.12"
"react-dom": "^18.0.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.5.2",