docs
docs copied to clipboard
chore: assorted hugo fixes, version bump
Description
- ~fix: remove duplicate keywords front matter~ fixed in #23609
- ~fix: remove duplicate keys in cli data file for 'docker desktop kubernetes'~ fixed in #23609
- ~fix: update deprecated :slugorfilename permalink token~ - Dropping this commit since I believe it still needs fixing in Hugo, and it is currently blocking the other fixes in this pr. Will bump hugo again and fix in a follow-up when ready. For now we continue with slugorfilename.
- fix: update deprecated "_build" front matter key
- chore: regenerate hugo_stats.json
- feat: upgrade hugo to v0.153.0 (to be released...)
Related issues or tickets
- https://github.com/gohugoio/hugo/issues/14103
- https://github.com/gohugoio/hugo/issues/14104
- Closes https://docker.atlassian.net/browse/ENGDOCS-3087
Deploy Preview for docsdocker failed. Why did it fail? →
| Name | Link |
|---|---|
| Latest commit | e500abe83737030c2d0629a9c4d925d316a7c829 |
| Latest deploy log | https://app.netlify.com/projects/docsdocker/deploys/691db3c80e39f60008c2bf7e |
This is currently blocked on two issues:
- Netlify's build environment doesn't seem to play nicely with the latest Hugo version due to some glibc dependency that is missing. So TBD what to do there.
- I believe the new
slugorcontentbasenamepermalink token doesn't work the same way as theslugorfilenametoken we used previously - it generates additional subdirectory for section pages. Either I am holding it wrong or this needs fixing in hugo.
Updated the netlify build image to ubuntu 24.04 and the builds go through now ✅ so the only open issue is the hugo one.
you are joking, another error :sob: I guess something changed in how heading anchors are generated.
#28 [test 5/5] RUN htmltest
#28 0.049 htmltest started at 04:21:08 on public
#28 0.049 ========================================================================
#28 2.658 reference/cli/docker/scout/cache/prune/index.html
#28 2.658 hash does not exist --- reference/cli/docker/scout/cache/prune/index.html --> #delete-temporary-_and_-cache-data
#28 2.658 ========================================================================
#28 6.453 ✘✘✘ failed in 6.399243322s
#28 6.453 1 errors in 3358 documents