Skip to content

Commit

Permalink
Add algolia search
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocavazza committed Nov 7, 2023
1 parent cfacfb7 commit 2ce1bdc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:

- name: Install project dependencies
run: yarn install
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true

- name: Build Documentation
run: yarn docs:build
Expand Down
9 changes: 9 additions & 0 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ export default defineConfig({
themeConfig: {
logo: 'https://raw.githubusercontent.com/chialab/dna/main/logo.svg',

search: {
provider: 'algolia',
options: {
appId: 'WBLIAQCHBK',
apiKey: '8e04392c95664ae9b73cc7a46c659ea9',
indexName: 'vitejs',
},
},

// https://vitepress.dev/reference/default-theme-config
nav: [
{
Expand Down

0 comments on commit 2ce1bdc

Please sign in to comment.