Skip to content

Repository files navigation

我的文档

所有文章存放在 scripts/site-config.mjs 配置的目录。

进入文章目录

多目录

编辑 scripts/site-config.mjs

export const blogDirs = ['blog1', 'blog2'];

每个目录都会生成自己的 README.md 文章目录,并在构建时复制到 dist

更新文章目录

新增或删除文章目录下的 .md 文件后,运行:

npm run update:index

提交到 GitHub 后,GitHub Actions 会自动生成文章目录并发布到 GitHub Pages。

Cloudflare Pages

Root directory 留空,框架预设选择 None

构建命令:

npm run build

输出目录:

dist

Node.js 版本由仓库根目录的 .node-version / .nvmrc 固定为 22.16.0

About

media process on web

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages