PPysolate SpineREAD THE CODE · UNDERSTAND THE SYSTEM
课程与章节
源码索引 / CURRENT IMPLEMENTATION

site/src/content.config.ts

3 行 · 点击行号可定位;函数链接随声明位置更新,不手填行号。

import { defineCollection } from 'astro:content';
import { glob } from 'astro/loaders';
export const collections = { docs: defineCollection({ loader: glob({ base: './.generated/docs', pattern: '*.md' }) }) };