Skip to content

Commit

Permalink
fix: docs paths
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohuoni authored Jun 6, 2022
2 parents 9712c1b + fcf2cbe commit dc4a44f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
4 changes: 3 additions & 1 deletion docs/components/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Components Home
import { Navigate } from 'umi';

<Navigate to="d-form" />
4 changes: 3 additions & 1 deletion docs/docs/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Docs Home
import { Navigate } from 'umi';

<Navigate to="introduce/introduce" />
4 changes: 3 additions & 1 deletion docs/docs/README.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# 文档首页
import { Navigate } from 'umi';

<Navigate to="introduce/introduce" />
1 change: 1 addition & 0 deletions docs/locales/zh-CN.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"Search anything ...": "搜索任何内容 ...",
"Docs": "文档",
"Components": "组件",
"Blog": "博客"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dep:update": "esno scripts/checkNpmClient.ts && pnpm up --interactive --latest --recursive",
"dev": "pnpm -r --filter ./packages --parallel run dev",
"doc:build": "umi build",
"doc:dev": "alita dev",
"doc:dev": "umi dev",
"format": "prettier --write .",
"preinstall": "esno scripts/checkNpmClient.ts",
"prepare": "husky install",
Expand Down
4 changes: 2 additions & 2 deletions theme.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ export default {
},
{
path: '/components',
title: 'components',
title: 'Components',
type: 'nav',
children: [
{
title: 'Components',
title: '组件',
children: [
'd-form',
'list-view',
Expand Down

0 comments on commit dc4a44f

Please sign in to comment.