Skip to content

Commit 8e04bae

Browse files
kevinten10claude
andcommitted
fix: 创建 Hugo Module 空目录解决 Docsy 构建依赖问题
Docsy 0.11.x 的 go.mod 声明了 Font-Awesome 和 Bootstrap 依赖, Hugo 0.145.0 要求这些模块目录存在。使用 Docsy 提供的 mkdirp-hugo-mod.js 脚本创建空目录来满足要求。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 81ecfb2 commit 8e04bae

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
- name: "Install dependencies"
3535
run: npm ci
3636

37+
- name: "Create Hugo module directories for Docsy"
38+
run: node themes/docsy/tools/mkdirp-hugo-mod.js themes
39+
3740
- name: "Build"
3841
run: hugo --gc --minify --destination docs
3942

0 commit comments

Comments
 (0)