diff --git a/docs/notes/theme/config/notes配置.md b/docs/notes/theme/config/notes配置.md index 2d2346d6..ddb5455d 100644 --- a/docs/notes/theme/config/notes配置.md +++ b/docs/notes/theme/config/notes配置.md @@ -46,7 +46,7 @@ export default defineUserConfig({ ## 配置 ```ts -interface NotesDataOptions { +interface NotesOptions { /** * 保存所有笔记的目录 * @default '/notes/' @@ -63,7 +63,7 @@ interface NotesDataOptions { notes: NoteItem[] } -interface NotesItem { +interface NoteItem { /** * 保存笔记的目录 */ diff --git a/docs/notes/theme/config/主题配置.md b/docs/notes/theme/config/主题配置.md index 972b6be6..dad53156 100644 --- a/docs/notes/theme/config/主题配置.md +++ b/docs/notes/theme/config/主题配置.md @@ -422,7 +422,7 @@ type NavItem = string | { ### notes -- 类型: `false | PlumeThemeNotesOptions` +- 类型: `false | NotesOptions` - 默认值: `{ link: '/note', dir: 'notes', notes: [] }` - 详情: diff --git a/docs/notes/theme/guide/api-node.md b/docs/notes/theme/guide/api-node.md index f9ef325c..86cad6b2 100644 --- a/docs/notes/theme/guide/api-node.md +++ b/docs/notes/theme/guide/api-node.md @@ -18,7 +18,7 @@ __options__ : `PlumeThemeOptions` 主题配置函数。 -查看 [主题配置](/config/basic/) 了解更多。 +查看 [主题配置](../config/主题配置.md) 了解更多。 ## `defineThemeConfig(options)` @@ -28,12 +28,22 @@ __options__ : `PlumeThemeOptions` ## `defineNavbarConfig(options)` -主题导航栏配置函数。 +主题导航栏配置类型帮助函数。 -查看 [主题配置](/config/navigation/) 了解更多。 +查看 [主题配置](../config/导航栏配置.md) 了解更多。 -## `definePlumeNotesConfig(options)` +## `defineNotesConfig(options)` -主题 notes 配置函数 +__options:__ `NotesOptions` -查看 [主题配置](/config/notes/) 了解更多。 +主题 notes 配置类型帮助函数 + +查看 [主题配置](../config/notes配置.md) 了解更多。 + +## `defineNoteConfig(options)` + +__options:__ `NoteItem` + +主题 单个 note (`NoteItem`) 配置类型帮助函数 + +查看 [主题配置](../config/notes配置.md) 了解更多。