Skip to content

[Pages] Add Hugo to build caching frameworks#29687

Open
ericclemmons wants to merge 1 commit intocloudflare:productionfrom
ericclemmons:docs/add-hugo-build-caching
Open

[Pages] Add Hugo to build caching frameworks#29687
ericclemmons wants to merge 1 commit intocloudflare:productionfrom
ericclemmons:docs/add-hugo-build-caching

Conversation

@ericclemmons
Copy link
Copy Markdown
Member

Summary

  • Adds Hugo to the build caching frameworks table on the Pages build caching docs
  • Includes a note explaining that Hugo requires --cacheDir=$PWD/.cache in the build command, since Hugo does not use .cache by default
  • Lists the Hugo config files used for detection (hugo.toml, hugo.yaml, hugo.yml, hugo.json)

Context

This is a companion change to pages-infra MR !1166 which adds Hugo build cache support to the Pages build runner. Without this docs update, users would not know how to configure their Hugo builds to benefit from caching.

Relates to cloudflare/workers-sdk#12969

Hugo build cache support is being added to Pages (pages-infra MR !1166).
Unlike other frameworks, Hugo does not use .cache by default — users must
set --cacheDir=$PWD/.cache in their build command. This adds Hugo to the
framework table and includes a note explaining the requirement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants