This commit is contained in:
Jonas_Jones 2025-01-08 17:32:21 +01:00
commit 7c4325a0df
2 changed files with 23 additions and 0 deletions

View file

@ -54,6 +54,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

@ -14,9 +14,11 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@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",