Skip to content

Commit 6cdbee5

Browse files
authored
docs: improve documentation (#1801)
* docs: improve documentation * docs: updates * fix: updates
1 parent a17e764 commit 6cdbee5

File tree

30 files changed

+722
-693
lines changed

30 files changed

+722
-693
lines changed

docs/.vitepress/config.mts

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function nav() {
6767
},
6868
{
6969
text: 'Roadmap',
70-
link: '/guide/roadmap'
70+
link: '/guide/extra/roadmap'
7171
},
7272
{
7373
text: 'v9.x',
@@ -90,24 +90,20 @@ function sidebarGuide() {
9090
text: 'What is Vue I18n?',
9191
link: '/guide/introduction'
9292
},
93-
{
94-
text: 'Getting Started',
95-
link: '/guide/'
96-
},
9793
{
9894
text: 'Installation',
9995
link: '/guide/installation'
100-
},
101-
{
102-
text: 'Roadmap',
103-
link: '/guide/roadmap'
10496
}
10597
]
10698
},
10799
{
108100
text: 'Essentials',
109101
collapsible: true,
110102
items: [
103+
{
104+
text: 'Getting Started',
105+
link: '/guide/essentials/started',
106+
},
111107
{
112108
text: 'Message Format Syntax',
113109
link: '/guide/essentials/syntax'
@@ -217,13 +213,20 @@ function sidebarGuide() {
217213
]
218214
},
219215
{
220-
text: 'v8.x',
216+
text: 'Extra Topics',
221217
collapsible: true,
222-
collapsed: true,
223218
items: [
219+
{
220+
text: 'Different Distribution files',
221+
link: '/guide/extra/dist'
222+
},
224223
{
225224
text: 'Documentation for v8.x',
226-
link: '/guide/v8-docs'
225+
link: '/guide/extra/v8-docs'
226+
},
227+
{
228+
text: 'Roadmap',
229+
link: '/guide/extra/roadmap'
227230
}
228231
]
229232
}

docs/.vitepress/theme/styles/global.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,26 @@
11
:root {
2+
--vp-c-brand-1: var(--vp-c-green-1);
3+
--vp-c-brand-2: var(--vp-c-green-2);
4+
--vp-c-brand-3: var(--vp-c-green-3);
5+
--vp-c-brand-soft: var(--vp-c-green-soft);
6+
--vp-code-color: #476582;
27
--vp-home-hero-name-color: transparent;
38
--vp-home-hero-image-filter: blur(72px);
49
--vp-home-hero-image-background-image: linear-gradient( -45deg, #647eff 30%, #42d392 );
510
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #647eff, #42d392);
611
}
712

13+
:root.dark {
14+
--vp-code-color: #c9def1;
15+
16+
--vp-home-hero-image-filter: blur(72px);
17+
--vp-home-hero-image-background-image: linear-gradient(
18+
0deg,
19+
var(--vp-c-brand-soft) 50%,
20+
var(--vp-c-brand-soft) 50%
21+
);
22+
}
23+
824
.vp-sponsor-grid.xmini .vp-sponsor-grid-link { height: 64px; }
925
.vp-sponsor-grid.xmini .vp-sponsor-grid-image { max-width: 64px; max-height: 22px }
1026

0 commit comments

Comments
 (0)