From 7e0d6aaf846e2cac52468553304bf6d57ad36392 Mon Sep 17 00:00:00 2001 From: Zhanghao Date: Sun, 24 Mar 2024 10:14:18 +0800 Subject: [PATCH] fix(doc): fix logo sidebar cannot be used properly. (#854) --- .changeset/metal-papayas-live.md | 5 +++++ packages/document/docs/en/api/config/config-basic.mdx | 2 +- packages/document/docs/zh/api/config/config-basic.mdx | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/metal-papayas-live.md diff --git a/.changeset/metal-papayas-live.md b/.changeset/metal-papayas-live.md new file mode 100644 index 000000000..dfbb3b757 --- /dev/null +++ b/.changeset/metal-papayas-live.md @@ -0,0 +1,5 @@ +--- +"@rspress/docs": patch +--- + +fix(doc): fix logo sidebar cannot be used properly. diff --git a/packages/document/docs/en/api/config/config-basic.mdx b/packages/document/docs/en/api/config/config-basic.mdx index 1273c1318..011f33aa2 100644 --- a/packages/document/docs/en/api/config/config-basic.mdx +++ b/packages/document/docs/en/api/config/config-basic.mdx @@ -86,7 +86,7 @@ export default defineConfig({ The framework will find your icon in the `public` directory, of course you can also set it to a CDN address. -## logo +## logo \{#logo-1} - Type: `string | { dark: string; light: string }` - Default: `""` diff --git a/packages/document/docs/zh/api/config/config-basic.mdx b/packages/document/docs/zh/api/config/config-basic.mdx index 11088bf3a..166eb58a9 100644 --- a/packages/document/docs/zh/api/config/config-basic.mdx +++ b/packages/document/docs/zh/api/config/config-basic.mdx @@ -86,7 +86,7 @@ export default defineConfig({ 框架会在 `public` 目录中找到你的图标,当然你也可以设置成一个 CDN 地址。 -## logo +## logo \{#logo-1} - Type: `string | { dark: string; light: string }` - Default: `""`