Update Hugo to v0.150.1
What does this MR do and why?
- Updates Hugo to the latest release, v0.150.1
- Re-enables English fallbacks for untranslated JP pages. We had to disable this feature due to an issue in Hugo 0.146.0, which was resolved via https://github.com/gohugoio/hugo/pull/13995.
Closes #500 (closed)
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Configure a local GitLab Docs environment.
- Check out this branch.
- Run
make setup
to install the new Hugo version. - Run
make view
and browse around the site. No changes expected. - Run a full build and check for errors:
hugo --gc --minify --printPathWarnings --panicOnWarning
- Enable Japanese in
hugo.yaml
, then check a full build again:hugo --gc --minify --printPathWarnings --panicOnWarning
Merge request acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this merge request.
Edited by Sarah German