mirror of
https://github.com/docker/docs.git
synced 2026-11-04 10:01:00 +00:00
50eeca7b4d18ce3e91efdf75848e38a03c51c586
## Summary The site fails to build on Hugo 0.162, which no longer allows `templates.Defer` inside a `partialCached` partial. `head.html` called `utils/css.html` (which defers with a global key) via `partialCached`. This switches that call to `partial` — the global Defer key already dedupes the work, so caching was redundant — and bumps the pinned Hugo version in the `Dockerfile` and `netlify.toml` to 0.162.1. Verified with a full local build on Hugo 0.162.1 extended (Node 24): clean build, 3332 pages, no template errors. ## Learnings - Hugo 0.162 enforces that `templates.Defer` cannot live inside a `partialCached` partial; the build error points at the deferred template, not the `partialCached` caller, so trace upward to the caching call site. Generated by Claude Code Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…
Docs @ Docker
Welcome to the Docker Documentation repository. This is the source for the Docker Docs Website.
Feel free to open pull requests or issues. Our docs are completely open source, and we deeply appreciate contributions from the Docker community!
Provide feedback
We’d love to hear your feedback! To submit feedback:
- Click New issue on the docs repository, or
- Click Request changes in the right column of every page on docs.docker.com, or
- Click Give feedback on every page in the docs.
To get community support, use the Docker Community Slack. Personalized support is available through the Docker Pro, Team, and Business subscriptions. See Docker Pricing for details.
If you have an idea for a new feature or behavior change in a specific aspect of Docker or have found a product bug, file an issue in the project's repository.
Contribute to Docker docs
We welcome contributions! To get started:
- CONTRIBUTING.md - Contribution workflow and setup
- STYLE.md - Writing style and content guidelines
- COMPONENTS.md - Component and shortcode usage
Copyright and license
Copyright 2013-2026 Docker, Inc., released under the Apache 2.0 license.
Languages
Markdown
94.8%
HTML
2.4%
JavaScript
0.8%
CSS
0.7%
Go
0.7%
Other
0.2%