mirror of
https://github.com/halo-dev/docs.git
synced 2026-01-28 01:09:02 +08:00
chore: improve importing markdown file name (#368)
为被导入的 Markdown 片段文件名添加 `_`,防止为其生成页面。比如:https://docs.halo.run/developer-guide/theme/vo/ThemeVo 参考文档:https://docusaurus.io/docs/2.x/markdown-features/react#importing-markdown /kind improvement ```release-note None ```
This commit is contained in:
@@ -3,11 +3,11 @@ title: 文章
|
||||
description: post.html - /archives/:slug
|
||||
---
|
||||
|
||||
import CategoryVo from "../vo/CategoryVo.md"
|
||||
import TagVo from "../vo/TagVo.md"
|
||||
import ContentVo from "../vo/ContentVo.md"
|
||||
import ContributorVo from "../vo/ContributorVo.md"
|
||||
import PostVo from "../vo/PostVo.md"
|
||||
import CategoryVo from "../vo/_CategoryVo.md"
|
||||
import TagVo from "../vo/_TagVo.md"
|
||||
import ContentVo from "../vo/_ContentVo.md"
|
||||
import ContributorVo from "../vo/_ContributorVo.md"
|
||||
import PostVo from "../vo/_PostVo.md"
|
||||
|
||||
## 路由信息
|
||||
|
||||
|
||||
Reference in New Issue
Block a user