Skip to content

Commit

Permalink
tweak: links
Browse files Browse the repository at this point in the history
  • Loading branch information
pei-pay committed Apr 14, 2024
1 parent a83d507 commit 25ab4a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/.vitepress/config/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const FunctionsSideBar = getFunctionsSideBar()
const nav: i18nTheme['nav'] = [
{ text: 'Home', link: '/' },
{ text: 'Guide', link: '/guide/' },
{ text: 'Functions', link: '/functions/' },
{ text: 'Functions', link: '/functions' },
]

const sidebar: i18nTheme['sidebar'] = {
Expand Down
7 changes: 4 additions & 3 deletions packages/.vitepress/config/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ const FunctionsSideBar = getFunctionsSideBar()
const nav: i18nTheme['nav'] = [
{ text: 'Home', link: '/ja/' },
{ text: 'Guide', link: '/ja/guide/' },
{ text: 'Functions', link: 'ja/functions/' },
{ text: 'Functions', link: 'ja/functions' },
]

const sidebar: i18nTheme['sidebar'] = {
'/guide/': DefaultSideBar,
'/functions': FunctionsSideBar,
'ja/guide/': DefaultSideBar,
'ja/functions': FunctionsSideBar,
// TODO: ja

Check failure on line 32 in packages/.vitepress/config/ja.ts

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces not allowed
'/core/': FunctionsSideBar,
'/shared/': FunctionsSideBar,
}
Expand Down

0 comments on commit 25ab4a4

Please sign in to comment.