Skip to content

Commit

Permalink
fix: bad link in config
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosemoe committed Feb 12, 2024
1 parent 94956db commit 46d1fa9
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 16 deletions.
14 changes: 5 additions & 9 deletions .vitepress/config/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,10 @@ function guideReference(): DefaultTheme.SidebarItem[] {
text: 'Introduction',
collapsed: false,
items: [
{
text: 'Overview',
link: '/editor-overview'
},
{
text: 'Getting Started',
link: '/getting-started'
}
{ text: 'Overview', link: 'editor-overview' },
{ text: 'Getting Started', link: 'getting-started' },
{ text: 'Language', link: 'using-language'},
{ text: 'Color Scheme', link: 'using-color-scheme' }
]
}
]
Expand All @@ -79,7 +75,7 @@ function sidebarReference(): DefaultTheme.SidebarItem[] {
items: [
{
text: 'No implemention',
link: '/no-implemention'
link: 'no-implemention'
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions .vitepress/config/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function guideReference(): DefaultTheme.SidebarItem[] {
items: [
{
text: 'クイックスタート',
link: '/getting-started'
link: 'getting-started'
}
]
}
Expand All @@ -98,7 +98,7 @@ function sidebarReference(): DefaultTheme.SidebarItem[] {
items: [
{
text: 'No implemention',
link: '/no-implemention'
link: 'no-implemention'
}
]
}
Expand Down
6 changes: 3 additions & 3 deletions .vitepress/config/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ function guideReference(): DefaultTheme.SidebarItem[] {
items: [
{
text: '概述',
link: '/editor-overview'
link: 'editor-overview'
},
{
text: '快速开始',
link: '/getting-started'
link: 'getting-started'
}
]
}
Expand All @@ -102,7 +102,7 @@ function sidebarReference(): DefaultTheme.SidebarItem[] {
items: [
{
text: '未实现',
link: '/no-implemention'
link: 'no-implemention'
}
]
}
Expand Down
1 change: 1 addition & 0 deletions guide/editor-overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Overview
4 changes: 2 additions & 2 deletions guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ Declare editor in your layout XML files:
```
It's not necessary to set `text` or `textSize` in XML declaration.

Refer to [XML Attributes]() for more information about its usage in XML.
Refer to [XML Attributes](/reference/xml-attributes) for more information about its usage in XML.
::: tip NOTE
It is not recommended to use `wrap_content` for editor width or height. In that case, when the text is editted, the editor has to request re-layout which probably causes lags.
:::
Expand Down Expand Up @@ -240,4 +240,4 @@ Not all fields of `DirectAccessProps` can take effect without invalidation. Call
Methods and fields that marked with `@UnsupportedUserUsage` should not be used. They are visible for internal access.
:::
## Continue
Go to [Languages](/language.md) and [Color Scheme](/color-scheme.md) to equip the editor with programming language support and your custom color scheme.
Go to [Language](./using-language.md) and [Color Scheme](./using-color-scheme.md) to equip the editor with programming language support and your custom color scheme.
1 change: 1 addition & 0 deletions guide/using-color-scheme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Color Scheme
1 change: 1 addition & 0 deletions guide/using-language.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Language
Empty file added reference/xml-attributes.md
Empty file.

0 comments on commit 46d1fa9

Please sign in to comment.