Skip to content

Commit

Permalink
task(devx): Switch to algolia search (#4447)
Browse files Browse the repository at this point in the history
* task(devx): Switch to algolia search

* feat(devx): update pnpm-lock

* fix(devx): remove typesense dep

* fix(devx) update pnpm-lock
  • Loading branch information
lucas-tortora authored Dec 17, 2024
1 parent 619115c commit 82ffdcc
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 634 deletions.
24 changes: 5 additions & 19 deletions docs/site/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,29 +191,15 @@ const config = {
type: "text/css",
},
],
themes: ["@docusaurus/theme-mermaid", 'docusaurus-theme-search-typesense',
themes: ["@docusaurus/theme-mermaid",
'@saucelabs/theme-github-codeblock', '@docusaurus/theme-live-codeblock'],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
typesense: {
// Replace this with the name of your index/collection.
// It should match the "index_name" entry in the scraper's "config.json" file.
typesenseCollectionName: 'IOTADocs',
typesenseServerConfig: {
nodes: [
{
host: 'docs-search.iota.org',
port: '',
protocol: 'https',
},
],
apiKey: 'C!jA3iCujG*PjK!eUVWFBxnU',
},
// Optional: Typesense search parameters: https://typesense.org/docs/0.24.0/api/search.html#search-parameters
typesenseSearchParameters: {},
// Optional
contextualSearch: true,
algolia: {
apiKey: '24b141ea7e65db2181463e44dbe564a5',
appId: '9PMBZGRP3B',
indexName: 'iota',
},
image: "img/iota-doc-og.png",
docs: {
Expand Down
1 change: 0 additions & 1 deletion docs/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"axios": "^1.7.4",
"clsx": "^2.1.1",
"copy-text-to-clipboard": "^3.2.0",
"docusaurus-theme-search-typesense": "0.20.0-0",
"dotenv": "^16.4.5",
"graphql": "^16.9.0",
"graphql-config": "^5.0.3",
Expand Down
Loading

0 comments on commit 82ffdcc

Please sign in to comment.