@movk/nuxt-docs 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/nuxt.config.ts +8 -3
- package/package.json +1 -1
package/nuxt.config.ts
CHANGED
|
@@ -46,7 +46,7 @@ export default defineNuxtConfig({
|
|
|
46
46
|
build: {
|
|
47
47
|
markdown: {
|
|
48
48
|
highlight: {
|
|
49
|
-
langs: ['bash', '
|
|
49
|
+
langs: ['bash', 'diff', 'json', 'js', 'ts', 'html', 'css', 'vue', 'shell', 'mdc', 'md', 'yaml']
|
|
50
50
|
},
|
|
51
51
|
remarkPlugins: {
|
|
52
52
|
'remark-mdc': {
|
|
@@ -85,9 +85,13 @@ export default defineNuxtConfig({
|
|
|
85
85
|
nitro: {
|
|
86
86
|
prerender: {
|
|
87
87
|
crawlLinks: true,
|
|
88
|
+
failOnError: false,
|
|
88
89
|
autoSubfolderIndex: false
|
|
89
90
|
}
|
|
90
91
|
},
|
|
92
|
+
a11y: {
|
|
93
|
+
logIssues: false
|
|
94
|
+
},
|
|
91
95
|
fonts: {
|
|
92
96
|
families: [
|
|
93
97
|
{ name: 'Public Sans', provider: 'google', global: true },
|
|
@@ -102,15 +106,16 @@ export default defineNuxtConfig({
|
|
|
102
106
|
icon: {
|
|
103
107
|
provider: 'iconify'
|
|
104
108
|
},
|
|
109
|
+
linkChecker: {
|
|
110
|
+
enabled: false
|
|
111
|
+
},
|
|
105
112
|
ogImage: {
|
|
106
113
|
zeroRuntime: true,
|
|
107
114
|
googleFontMirror: 'fonts.loli.net',
|
|
108
115
|
fonts: [
|
|
109
|
-
// 思源黑体 - 支持中文
|
|
110
116
|
'Noto+Sans+SC:400',
|
|
111
117
|
'Noto+Sans+SC:500',
|
|
112
118
|
'Noto+Sans+SC:700',
|
|
113
|
-
// 如果需要英文字体
|
|
114
119
|
'Inter:400',
|
|
115
120
|
'Inter:700'
|
|
116
121
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@movk/nuxt-docs",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.7.
|
|
4
|
+
"version": "1.7.3",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Modern Nuxt 4 documentation theme with auto-generated component docs, AI chat assistant, MCP server, and complete developer experience optimization.",
|
|
7
7
|
"author": "YiXuan <mhaibaraai@gmail.com>",
|