Skip to content

Commit

Permalink
fix: sidebar links
Browse files Browse the repository at this point in the history
  • Loading branch information
cdn0x12 committed Oct 28, 2024
1 parent c35f861 commit 3f23658
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default defineConfig({
text: '开发',
collapsed: true,
items: [
{ text: 'API', link: '/dev/api' }
{ text: 'API', link: 'https://scg-docs.owu.one/dev/api/' }
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions dev/api/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ export default defineConfig({
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: '首页', link: '/' },
{ text: '返回', link: 'https://scg-docs.owu.one/' }
{ text: '返回', link: 'https://scg-docs.owu.one/dev/' }
],

sidebar: [
{ text: '返回食用指南', link: 'https://scg-docs.owu.one/' },
{ text: '返回食用指南', link: 'https://scg-docs.owu.one/dev/' },
{ text: '首页', link: '/' },
...sidebar.generateSidebarGroups()
],
Expand Down

0 comments on commit 3f23658

Please sign in to comment.