Skip to content

Commit 2fd46d9

Browse files
committed
refactor(mono): 组件库文档补充更新日志(changelog-needed)
ISSUES CLOSED: none
1 parent b1921ef commit 2fd46d9

File tree

17 files changed

+145
-50
lines changed

17 files changed

+145
-50
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
- 参考:https://github.com/bin-K/monorepo-pnpm-vue
66

7-
#### docs
7+
#### 组件库文档
88

9-
- https://bin-k.github.io/ued-ui/components/button/
9+
- https://bin-k.github.io/ued-ui/

play/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="UTF-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<link rel="icon" href="/favicon.svg" />
78
<title>play</title>
89
</head>
910
<body>

play/public/favicon.svg

Lines changed: 1 addition & 0 deletions
Loading

site/docs/.vitepress/config.js

Lines changed: 82 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,104 @@
11
export default {
22
base: process.env.NODE_ENV === 'production' ? '/ued-ui/' : '/',
3+
head: [
4+
[
5+
'link',
6+
{
7+
rel: 'icon',
8+
href:
9+
(process.env.NODE_ENV === 'production' ? '/ued-ui/' : '/') +
10+
'favicon.svg',
11+
},
12+
],
13+
],
314
themeConfig: {
415
siteTitle: 'Ued-Plus',
16+
outline: {
17+
level: 'deep',
18+
},
519
nav: [
6-
{ text: '指南', link: '/guide/installation/' },
20+
{ text: '更新日志', link: '/changelogs/mono/' },
21+
{ text: '指南', link: '/guide/quickstart/' },
722
{ text: '组件', link: '/components/button/' },
823
],
924
socialLinks: [
1025
{ icon: 'github', link: 'https://github.com/bin-K/ued-plus' },
1126
],
1227
sidebar: {
13-
'/guide/': [
28+
'/changelogs': [
1429
{
15-
text: '基础',
30+
text: '基础日志',
1631
items: [
1732
{
18-
text: '安装',
19-
link: '/guide/installation/',
33+
text: 'Mono',
34+
link: '/changelogs/mono/',
35+
},
36+
],
37+
},
38+
{
39+
text: '基础组件',
40+
items: [
41+
{
42+
text: 'Button',
43+
link: '/changelogs/button/',
44+
},
45+
{
46+
text: 'Icon',
47+
link: '/changelogs/icon/',
48+
},
49+
{
50+
text: 'Text',
51+
link: '/changelogs/text/',
52+
},
53+
{
54+
text: 'Link',
55+
link: '/changelogs/link/',
56+
},
57+
{
58+
text: 'Container',
59+
link: '/changelogs/container/',
60+
},
61+
{
62+
text: 'Layout',
63+
link: '/changelogs/layout/',
2064
},
65+
{
66+
text: 'Scrollbar',
67+
link: '/changelogs/scrollbar/',
68+
},
69+
],
70+
},
71+
{
72+
text: '表单组件日志',
73+
items: [
74+
{
75+
text: 'Radio',
76+
link: '/changelogs/radio/',
77+
},
78+
],
79+
},
80+
{
81+
text: '反馈组件日志',
82+
items: [
83+
{
84+
text: 'Dialog',
85+
link: '/changelogs/dialog/',
86+
},
87+
],
88+
},
89+
],
90+
'/guide/': [
91+
{
92+
text: '基础',
93+
items: [
2194
{
2295
text: '快速开始',
2396
link: '/guide/quickstart/',
2497
},
98+
{
99+
text: '安装',
100+
link: '/guide/installation/',
101+
},
25102
],
26103
},
27104
],
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!--@include: ../../../../changelogs/button.md-->
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!--@include: ../../../../changelogs/container.md-->
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!--@include: ../../../../changelogs/dialog.md-->

site/docs/changelogs/icon/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!--@include: ../../../../changelogs/icon.md-->
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!--@include: ../../../../changelogs/layout.md-->

site/docs/changelogs/link/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!--@include: ../../../../changelogs/link.md-->

0 commit comments

Comments
 (0)