lint --fix

This commit is contained in:
2025-08-08 13:02:49 +08:00
parent 033150a442
commit 991dd065f8
2 changed files with 10 additions and 10 deletions

View File

@@ -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(),

View File

@@ -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',