OS Debug 项目的文档网站,基于 Hugo 与 hugo-book 主题构建,自动部署到 GitHub Pages。
在线访问:https://osdebugger.github.io/
克隆时记得带上主题子模块:
git clone --recursive https://github.com/OSDebugger/OSDebugger.github.io.git已经 clone 过的补一下:
git submodule update --init --recursive启动本地服务:
make serve默认监听 http://0.0.0.0:3001,改端口:make serve PORT=1313。
content/— Markdown 文档layouts/— 覆盖主题的布局片段assets/— SCSS 等需要 Hugo 处理的资源static/— 直接复制到站点根目录的静态资源themes/hugo-book/— 主题子模块.github/workflows/hugo.yml— GitHub Pages 自动部署