Skip to content

Commit

Permalink
Merge branch 'main' into m0umvwy0
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukiniro authored Mar 24, 2024
2 parents 27845bf + 7e0d6aa commit 5685f5d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 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/en/guide/basic/ssg.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default defineConfig({
});
```

For more detailed config of `builderConfig.html.tags`, please refer to the [documentation](https://rsbuild.dev/config/options/html.html#htmltags).
For more detailed config of `builderConfig.html.tags`, please refer to the [documentation](https://rsbuild.dev/config/html/tags).

## Preview

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
2 changes: 1 addition & 1 deletion packages/document/docs/zh/guide/basic/ssg.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default defineConfig({
});
```

关于 `builderConfig.html.tags` 更详细的配置,请参考[文档](https://rsbuild.dev/zh/config/options/html.html#htmltags)
关于 `builderConfig.html.tags` 更详细的配置,请参考[文档](https://rsbuild.dev/zh/config/html/tags)

## 预览产物

Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-playground/src/web/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useDark } from '@rspress/core/runtime';
import { DEFAULT_MONACO_URL } from './constant';

// inject by Rsbuild in cli/index.ts
// see: https://rsbuild.dev/zh/config/options/source.html#sourcedefine
// see: https://rsbuild.dev/config/source/define
declare global {
const __PLAYGROUND_MONACO_LOADER__: any;
const __PLAYGROUND_MONACO_OPTIONS__: any;
Expand Down

0 comments on commit 5685f5d

Please sign in to comment.