构建并预览本站文档
本站按 docmd Skill(仓库内 docmd/SKILL.md)的模版约定搭建。若要给其他项目新建文档站,复制 docmd/template/ 并按该 Skill 操作;下面只覆盖本仓库站点的预览与构建。
步骤
在仓库根目录安装 Node 依赖:
npm install
预览:
npm run docs:dev
生产构建:
npm run docs:build
输出在 site/。推送到 main 会触发 .github/workflows/deploy-docs.yml 部署到 GitHub Pages。
侧栏选项菜单可在 中文 / English 间切换。