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: `""`