Skip to content

Commit

Permalink
feat: algolia docsearch (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
yongenaelf authored Oct 18, 2024
1 parent ebc8484 commit 9ba0c5b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 222 deletions.
19 changes: 4 additions & 15 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ const config: Config = {
} satisfies Preset.Options,
],
],
themes: ["docusaurus-theme-search-typesense"],
themeConfig: {
// Replace with your project's social card
image: "img/aelficon.png",
Expand Down Expand Up @@ -106,20 +105,10 @@ const config: Config = {
hideable: true, // https://docusaurus.io/docs/sidebar#hideable-sidebar
},
},
typesense: {
typesenseCollectionName: process.env.TYPESENSE_COLLECTION_NAME,
typesenseServerConfig: {
nodes: [
{
host: process.env.TYPESENSE_SERVER_HOST,
port: 443,
protocol: "https",
},
],
apiKey: process.env.TYPESENSE_SEARCH_ONLY_APIKEY,
},
typesenseSearchParameters: {},
contextualSearch: true,
algolia: {
appId: "IG99ZJRXDW",
apiKey: "0e3c2389292b3d211032f3843fa8eb6d",
indexName: "aelf",
},
hotjar: {
applicationId: process.env.HOTJAR_ID,
Expand Down
206 changes: 0 additions & 206 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"chaingpt-component": "^0.2.0-beta.3",
"clsx": "^2.0.0",
"docusaurus-plugin-hotjar": "^0.0.2",
"docusaurus-theme-search-typesense": "^0.20.0-0",
"dotenv": "^16.4.5",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
Expand Down

0 comments on commit 9ba0c5b

Please sign in to comment.