Skip to content

Commit 769b3a6

Browse files
committed
docs: updates
1 parent 9f096b5 commit 769b3a6

File tree

3 files changed

+1215
-632
lines changed

3 files changed

+1215
-632
lines changed

docs/.vitepress/config.ts

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@ export default defineConfig({
1515
lang: 'en-US',
1616
title: headTitle,
1717
description: headDescription,
18+
19+
markdown: {
20+
theme: {
21+
dark: 'dracula-soft',
22+
light: 'vitesse-light',
23+
},
24+
25+
attrs: {
26+
leftDelimiter: '%{',
27+
rightDelimiter: '}%',
28+
},
29+
},
30+
1831
head: [
1932
['meta', { name: 'theme-color', content: '#ffe183' }],
2033
['link', { rel: 'icon', href: '/logo.svg', type: 'image/svg+xml' }],
@@ -76,7 +89,7 @@ export default defineConfig({
7689
footer: {
7790
message: 'Released under the MIT License.',
7891
copyright:
79-
'Copyright © 2016-PRESENT Eduardo San Martin Morote and VueFire contributors',
92+
'Copyright © 2016-present Eduardo San Martin Morote and VueFire contributors',
8093
},
8194

8295
carbonAds: {
@@ -125,12 +138,12 @@ export default defineConfig({
125138
},
126139
})
127140

128-
type SidebarGroup = DefaultTheme.SidebarGroup
141+
type SidebarGroup = DefaultTheme.SidebarItem
129142

130143
function sidebarGuide(): SidebarGroup {
131144
return {
132145
text: 'Guide',
133-
collapsible: true,
146+
collapsed: false,
134147
items: [
135148
{
136149
text: 'Why VueFire',
@@ -183,7 +196,7 @@ function sidebarGuide(): SidebarGroup {
183196

184197
function sidebarNuxt(): SidebarGroup {
185198
return {
186-
collapsible: true,
199+
collapsed: false,
187200
text: 'Nuxt',
188201
items: [
189202
{
@@ -212,7 +225,7 @@ function sidebarNuxt(): SidebarGroup {
212225

213226
function sidebarCookbook(): SidebarGroup {
214227
return {
215-
collapsible: true,
228+
collapsed: false,
216229
text: 'Cookbook',
217230
items: [
218231
{
@@ -233,7 +246,6 @@ function sidebarCookbook(): SidebarGroup {
233246

234247
function sidebarApi(): SidebarGroup {
235248
return {
236-
collapsible: false,
237249
text: 'API',
238250
items: [
239251
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"typedoc-plugin-markdown": "^3.15.3",
106106
"typescript": "~5.1.6",
107107
"unbuild": "^1.2.1",
108-
"vitepress": "1.0.0-beta.5",
108+
"vitepress": "1.0.0-beta.7",
109109
"vitest": "^0.33.0",
110110
"vue": "^3.3.4",
111111
"yorkie": "^2.0.0"

0 commit comments

Comments
 (0)