Skip to content

Commit

Permalink
Use Algolia search
Browse files Browse the repository at this point in the history
  • Loading branch information
wborn committed Sep 13, 2024
1 parent 561acf5 commit 160c0f2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 485 deletions.
9 changes: 5 additions & 4 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ const config: Config = {
],

plugins: [
[
require.resolve('docusaurus-lunr-search'), {
disableVersioning: true
}],
[
"docusaurus-plugin-openapi-docs",
{
Expand Down Expand Up @@ -253,6 +249,11 @@ const config: Config = {
prism: {
additionalLanguages: ['bash', 'cpp', 'csharp', 'docker', 'groovy', 'java', 'javascript', 'json', 'python', 'ruby'],
},
algolia: {
apiKey: '18c8ff9992cf5a0b37acb9b008fa7cd9',
appId: 'TVHZ0YEM1U',
indexName: 'documentation',
},
} satisfies Preset.ThemeConfig,
};

Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@
"@docusaurus/preset-classic": "3.5.2",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"docusaurus-lunr-search": "3.5.0",
"docusaurus-plugin-openapi-docs": "4.0.1",
"docusaurus-theme-openapi-docs": "4.0.1",
"lunr": "^2.3.9",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
Expand All @@ -37,7 +35,6 @@
"@docusaurus/theme-common": "3.5.2",
"@docusaurus/tsconfig": "3.5.2",
"@docusaurus/types": "3.5.2",
"@types/lunr": "^2",
"@types/react": "^18",
"typescript": "~5.6.2"
},
Expand Down
Loading

0 comments on commit 160c0f2

Please sign in to comment.