lint --fix
This commit is contained in:
@@ -5,7 +5,7 @@ export default defineContentConfig({
|
|||||||
docs: defineCollection({
|
docs: defineCollection({
|
||||||
type: 'page',
|
type: 'page',
|
||||||
source: {
|
source: {
|
||||||
include: 'docs/**',
|
include: 'docs/**'
|
||||||
},
|
},
|
||||||
schema: z.object({
|
schema: z.object({
|
||||||
rawbody: z.string(),
|
rawbody: z.string(),
|
||||||
@@ -20,7 +20,7 @@ export default defineContentConfig({
|
|||||||
blog: defineCollection({
|
blog: defineCollection({
|
||||||
type: 'page',
|
type: 'page',
|
||||||
source: {
|
source: {
|
||||||
include: 'blog/**',
|
include: 'blog/**'
|
||||||
},
|
},
|
||||||
schema: z.object({
|
schema: z.object({
|
||||||
rawbody: z.string(),
|
rawbody: z.string(),
|
||||||
|
@@ -44,6 +44,12 @@ export default defineNuxtConfig({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
routeRules: {
|
||||||
|
'/': { static: true },
|
||||||
|
'/docs/**': { ssr: false },
|
||||||
|
'/blog/**': { ssr: false },
|
||||||
|
'/raw/**': { ssr: false }
|
||||||
|
},
|
||||||
|
|
||||||
compatibilityDate: '2024-07-11',
|
compatibilityDate: '2024-07-11',
|
||||||
|
|
||||||
@@ -52,8 +58,8 @@ export default defineNuxtConfig({
|
|||||||
routes: ['/'],
|
routes: ['/'],
|
||||||
crawlLinks: true,
|
crawlLinks: true,
|
||||||
failOnError: false,
|
failOnError: false,
|
||||||
autoSubfolderIndex: false,
|
autoSubfolderIndex: false
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
eslint: {
|
eslint: {
|
||||||
@@ -76,12 +82,6 @@ export default defineNuxtConfig({
|
|||||||
sizeLimitKb: 512
|
sizeLimitKb: 512
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
routeRules: {
|
|
||||||
'/': { static: true },
|
|
||||||
'/docs/**': { ssr: false },
|
|
||||||
'/blog/**': { ssr: false },
|
|
||||||
'/raw/**': { ssr: false }
|
|
||||||
},
|
|
||||||
llms: {
|
llms: {
|
||||||
domain: 'https://docs.jiwei.xin',
|
domain: 'https://docs.jiwei.xin',
|
||||||
title: 'Estel Docs',
|
title: 'Estel Docs',
|
||||||
|
Reference in New Issue
Block a user