Skip to content

Commit

Permalink
fix(doc): fix logo sidebar cannot be used properly. (web-infra-dev#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukiniro committed Mar 24, 2024
1 parent 8c81084 commit 7e0d6aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/metal-papayas-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rspress/docs": patch
---

fix(doc): fix logo sidebar cannot be used properly.
2 changes: 1 addition & 1 deletion packages/document/docs/en/api/config/config-basic.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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: `""`
Expand Down
2 changes: 1 addition & 1 deletion packages/document/docs/zh/api/config/config-basic.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default defineConfig({

框架会在 `public` 目录中找到你的图标,当然你也可以设置成一个 CDN 地址。

## logo
## logo \{#logo-1}

- Type: `string | { dark: string; light: string }`
- Default: `""`
Expand Down

0 comments on commit 7e0d6aa

Please sign in to comment.