Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR TOCSS: failed to transform file after v0.123.1 #12094

Closed
XhmikosR opened this issue Feb 21, 2024 · 4 comments
Closed

ERROR TOCSS: failed to transform file after v0.123.1 #12094

XhmikosR opened this issue Feb 21, 2024 · 4 comments

Comments

@XhmikosR
Copy link
Contributor

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.123.1-3f8434a62fc91a50f4e5bd43a4435d2d301844ff+extended linux/amd64 BuildDate=2024-02-21T08:17:45Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?

Yes


After v0.123.0 (also 0.123.1) we are getting two build failures for our docs:

CI run: https://github.com/twbs/bootstrap/actions/runs/7987176517/job/21809124130?pr=39698

1. ERROR TOCSS: failed to transform "/scss/docs.scss" (text/x-scss): "/home/runner/work/bootstrap/bootstrap/site/assets/scss/_variables.scss:17:45": Undefined variable: "$pink-500".
2. ERROR [en] REF_NOT_FOUND: Ref "/docs/5.3/examples/": "/home/runner/work/bootstrap/bootstrap/site/content/docs/5.3/getting-started/rtl.md:68:52": page not found

For the second error, the shortcode is this one: https://github.com/twbs/bootstrap/blob/main/site/layouts/shortcodes/docsref.html

v0.122.0 works without errors. Is this due to the breaking changes in v0.123.0 or is it a regression?

Thanks for your hard work!

@bep
Copy link
Member

bep commented Feb 21, 2024

due to the breaking changes in v0.123.0 or is it a regression?

A regression.

@bep bep added this to the v0.123.2 milestone Feb 21, 2024
@bep bep removed the NeedsTriage label Feb 21, 2024
@bep bep changed the title ERROR TOCSS: failed to transform file after v0.123.0 ERROR TOCSS: failed to transform file after v0.123.1 Feb 21, 2024
@bep bep added the v0.123.x label Feb 21, 2024
@XhmikosR
Copy link
Contributor Author

Should I create a separate issue for the second error?

@bep
Copy link
Member

bep commented Feb 21, 2024

My comment above is about the ToCSS (which is in the title) error.

bep added a commit to bep/hugo that referenced this issue Feb 21, 2024
bep added a commit to bep/hugo that referenced this issue Feb 21, 2024
bep added a commit to bep/hugo that referenced this issue Feb 21, 2024
@bep bep closed this as completed in cf7023c Feb 21, 2024
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants