Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated hugo version and recommended pinned installation #12205

Merged
merged 3 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/repository-documentation-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # v2.6.0
with:
hugo-version: '0.115.0'
hugo-version: '0.136.5'
extended: true

- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repository-documentation-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # v2.6.0
with:
hugo-version: '0.115.0'
hugo-version: '0.136.5'
extended: true

- name: Build
Expand Down
5 changes: 4 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ The docsite is generated using [Hugo](https://gohugo.io/) and hosted using Githu

To view locally:

1. [Install Hugo](https://gohugo.io/installation/)
1. Install Hugo v0.136.5
```bash
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/[email protected]
```
2. Run `hugo server` inside the `docs` directory
3. Visit http://localhost:1313/magic-modules/ to view the docs

Expand Down
4 changes: 4 additions & 0 deletions docs/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
module github.com/GoogleCloudPlatform/magic-modules/docs

go 1.23

require (
github.com/alex-shpak/hugo-book v0.0.0-20240518104843-e104a11f42fb
)
2 changes: 2 additions & 0 deletions docs/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/alex-shpak/hugo-book v0.0.0-20240518104843-e104a11f42fb h1:cP93DhBd5vM1Mt2qOFzhOUvyribG6yuKz6G4nmgyQrw=
github.com/alex-shpak/hugo-book v0.0.0-20240518104843-e104a11f42fb/go.mod h1:L4NMyzbn15fpLIpmmtDg9ZFFyTZzw87/lk7M2bMQ7ds=
Loading