Skip to content

Commit

Permalink
docs: add docs search with algolia
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaodong2008 committed Apr 25, 2024
1 parent 0be301e commit 6dc3459
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ export default defineConfig({
{ icon: "twitter", link: "https://twitter.com/dy_xiaodong2022" },
],
outline: [2, 5],
search: {
provider: "algolia",
options: {
appId: 'NJNQH9E5XC',
apiKey: '99c195cd5bb8691f49998d4a921982dc',
indexName: 'fastjs'
}
}
},
markdown: {
config: (md) => {
Expand Down

0 comments on commit 6dc3459

Please sign in to comment.