Skip to content

Commit 54689f1

Browse files
zhujian7claude
andauthored
Fix hugo server (#527)
🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: zhujian <[email protected]> Co-authored-by: Claude <[email protected]>
1 parent 7e114fb commit 54689f1

File tree

6 files changed

+81
-3
lines changed

6 files changed

+81
-3
lines changed

.github/workflows/postsubmit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Hugo
2020
uses: peaceiris/actions-hugo@v3
2121
with:
22-
hugo-version: '0.146.0'
22+
hugo-version: '0.152.0'
2323
extended: true
2424
- name: Setup Node
2525
uses: actions/setup-node@v4

.github/workflows/presubmit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Hugo
1818
uses: peaceiris/actions-hugo@v3
1919
with:
20-
hugo-version: "0.146.0"
20+
hugo-version: "0.152.0"
2121
extended: true
2222
- name: Setup Node
2323
uses: actions/setup-node@v4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ For larger changes or when you want to preview your edits locally:
2525
cd open-cluster-management-io.github.io
2626
```
2727

28-
3. Install Hugo (version 0.110.0 or later recommended)
28+
3. Install Hugo (version 0.146.0 or later recommended)
2929

3030
4. Start the local development server:
3131
```bash

hugo.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,34 @@ module:
197197
imports:
198198
- path: github.com/google/docsy
199199
disable: false
200+
mounts:
201+
- source: assets
202+
target: assets
203+
- source: node_modules/bootstrap
204+
target: assets/vendor/bootstrap
205+
- source: node_modules/@fortawesome/fontawesome-free
206+
target: assets/vendor/Font-Awesome
207+
- source: i18n
208+
target: i18n
209+
- source: layouts
210+
target: layouts
211+
- source: static
212+
target: static
213+
- source: node_modules/@fortawesome/fontawesome-free/webfonts
214+
target: static/webfonts
215+
- source: assets/_vendor/bootstrap/scss
216+
target: assets/vendor/bootstrap/scss/vendor
217+
- path: github.com/twbs/bootstrap
218+
disable: false
219+
mounts:
220+
- source: scss
221+
target: assets/vendor/bootstrap/scss
222+
- source: dist/js
223+
target: assets/vendor/bootstrap/dist/js
224+
- path: github.com/FortAwesome/Font-Awesome
225+
disable: false
226+
mounts:
227+
- source: scss
228+
target: assets/vendor/Font-Awesome/scss
229+
- source: webfonts
230+
target: static/webfonts

package-lock.json

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@
44
"autoprefixer": "^10.4.19",
55
"postcss-cli": "^11.0.0",
66
"postcss": "^8.4.38"
7+
},
8+
"dependencies": {
9+
"bootstrap": "^5.3.3",
10+
"@fortawesome/fontawesome-free": "^6.5.1"
711
}
812
}

0 commit comments

Comments
 (0)