-
Notifications
You must be signed in to change notification settings - Fork 701
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/needs-triageIndicates that an issue needs to be triaged by a project contributor.Indicates that an issue needs to be triaged by a project contributor.
Description
What steps did you take and what happened:
While building the Contour documentation locally using the latest Hugo (v0.151.1+extended), the build fails with the following error:
ERROR deprecated: resources.ToCSS was deprecated in Hugo v0.128.0 and subsequently removed. Use css.Sass instead.This error occurs because the docs site still uses the deprecated resources.ToCSS function in its HTML template.
What did you expect to happen:
The documentation site should build successfully with the latest stable version of Hugo.
Anything else you would like to add:
Updating the template to use css.Sass instead of resources.ToCSS resolves the issue.
I’m preparing a PR with the fix and will test it against the current Hugo version to ensure compatibility.
Environment:
- Contour version: v1.33.0
- Kubernetes version: (use
kubectl version): N/A - Kubernetes installer & version: N/A
- Cloud provider or hardware configuration: N/A
- OS (e.g. from
/etc/os-release): Arch Linux - Hugo version: v0.151.1+extended
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/needs-triageIndicates that an issue needs to be triaged by a project contributor.Indicates that an issue needs to be triaged by a project contributor.