Merge branch 'main' into feat/printing-mode

pull/4041/head
Ethan Goh 1 year ago committed by GitHub
commit 2d05297bbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,3 +1,10 @@
## [1.3.1](https://github.com/vuejs/vitepress/compare/v1.3.0...v1.3.1) (2024-07-14)
### Bug Fixes
- don't reopen browser on restart when `vite.server.open` is specified ([6263db1](https://github.com/vuejs/vitepress/commit/6263db170a658ea887ef4b2bfe4b5239a820e0d9)), closes [#4040](https://github.com/vuejs/vitepress/issues/4040)
- **theme/regression:** typo in component props resulting in nested titles not showing in navbar ([01d0d45](https://github.com/vuejs/vitepress/commit/01d0d45292602cbb7de492f0c953ddb239842116)), closes [#4042](https://github.com/vuejs/vitepress/issues/4042)
# [1.3.0](https://github.com/vuejs/vitepress/compare/v1.2.3...v1.3.0) (2024-07-07)
### Bug Fixes

@ -42,6 +42,29 @@ const nav: DefaultTheme.Config['nav'] = [
}
]
}
},
{
text: 'Nested',
items: [
{
text: 'Level 1 - 1',
items: [
{
text: 'Level 2 - 1',
link: '/nested/level1-1/level2-1'
}
]
},
{
text: 'Level 1 - 2',
items: [
{
text: 'Level 2 - 2',
link: '/nested/level1-2/level2-2'
}
]
}
]
}
]

@ -1,6 +1,6 @@
{
"name": "vitepress",
"version": "1.3.0-patch.4",
"version": "1.3.1",
"description": "Vite & Vue powered static site generator",
"keywords": [
"vite",
@ -110,7 +110,7 @@
"@vueuse/integrations": "^10.11.0",
"focus-trap": "^7.5.4",
"mark.js": "8.11.1",
"minisearch": "^6.3.0",
"minisearch": "^7.0.0",
"shiki": "^1.10.3",
"vite": "^5.3.3",
"vue": "^3.4.31"
@ -155,7 +155,7 @@
"gray-matter": "^4.0.3",
"lint-staged": "^15.2.7",
"lodash.template": "^4.5.0",
"lru-cache": "^10.3.1",
"lru-cache": "^11.0.0",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.0.1",
"markdown-it-attrs": "^4.1.6",
@ -173,11 +173,11 @@
"playwright-chromium": "^1.45.1",
"polka": "^1.0.0-next.25",
"postcss-prefix-selector": "^1.16.1",
"prettier": "^3.3.2",
"prettier": "^3.3.3",
"prompts": "^2.4.2",
"punycode": "^2.3.1",
"rimraf": "^5.0.8",
"rollup": "^4.18.0",
"rimraf": "^6.0.1",
"rollup": "^4.18.1",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-esbuild": "^6.1.1",
"semver": "^7.6.2",
@ -186,7 +186,7 @@
"sitemap": "^8.0.0",
"supports-color": "^9.4.0",
"typescript": "^5.5.3",
"vitest": "^1.6.0",
"vitest": "^2.0.2",
"vue-tsc": "^2.0.26",
"wait-on": "^7.2.0"
},

File diff suppressed because it is too large Load Diff

@ -42,7 +42,7 @@ function toggle() {
</div>
<div v-else class="group">
<VPNavScreenMenuGroupSection :items="item.items" />
<VPNavScreenMenuGroupSection :text="item.text" :items="item.items" />
</div>
</template>
</div>

@ -270,7 +270,7 @@ function resolveSiteDataHead(userConfig?: UserConfig): HeadConfig[] {
typeof userConfig?.appearance === 'string'
? userConfig?.appearance
: typeof userConfig?.appearance === 'object'
? userConfig.appearance.initialValue ?? 'auto'
? (userConfig.appearance.initialValue ?? 'auto')
: 'auto'
head.push([

Loading…
Cancel
Save