删除本地content目录,改为由github获取

This commit is contained in:
2025-08-08 10:59:21 +08:00
parent ff52407ef9
commit 9e8a7f5c14
57 changed files with 2 additions and 7101 deletions

View File

@@ -5,8 +5,8 @@ export default defineContentConfig({
docs: defineCollection({
type: 'page',
source: {
repository: 'https://github.com/estel-li/markdown',
include: 'docs/**',
exclude: ['/web/**']
},
schema: z.object({
rawbody: z.string(),
@@ -21,8 +21,8 @@ export default defineContentConfig({
blog: defineCollection({
type: 'page',
source: {
repository: 'https://github.com/estel-li/markdown',
include: 'blog/**',
exclude: ['/web/**']
},
schema: z.object({
rawbody: z.string(),