Skip to content

Commit 8f966bd

Browse files
committed
feat(website): add search bar
1 parent f3df012 commit 8f966bd

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/.vitepress/config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ export default defineConfig({
2121
noExternal: ['three']
2222
}
2323
},
24+
25+
lang: 'en-US',
26+
i18nRouting: true,
27+
2428
title: 'YODAOS JSAR',
2529
description: 'Open Source Browser Engine for the Spatial Web',
2630
ignoreDeadLinks: true, // Temporarily ignore dead links while we migrate
@@ -55,6 +59,10 @@ export default defineConfig({
5559

5660
themeConfig: {
5761

62+
search: {
63+
provider: 'local',
64+
},
65+
5866
nav: [
5967
{ text: 'Documentation', link: '/manual/introduction' },
6068
{

docs/index.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ hero:
99
- theme: brand
1010
text: Get Started
1111
link: /manual/quick-start
12-
- theme: alt
13-
text: Learn More
14-
link: /manual/introduction
1512
- theme: alt
1613
text: View on GitHub
1714
link: https://github.com/M-CreativeLab/jsar-runtime

0 commit comments

Comments
 (0)