Migrate to Contentlayer2

This commit is contained in:
2025-11-19 21:46:49 +08:00
parent a249a120a5
commit 4c08413936
18 changed files with 1370 additions and 6377 deletions

View File

@@ -1,4 +1,4 @@
import { defineDocumentType, makeSource } from 'contentlayer/source-files';
import { defineDocumentType, makeSource } from 'contentlayer2/source-files';
import { visit } from 'unist-util-visit';
import rehypeSlug from 'rehype-slug';
import rehypeAutolinkHeadings from 'rehype-autolink-headings';