gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
75.38k stars 7.49k forks source link

ERROR [en] REF_NOT_FOUND after v0.123.1 #12096

Closed XhmikosR closed 8 months ago

XhmikosR commented 8 months ago

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


Split from #12094.

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

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

The shortcode is this one: https://github.com/twbs/bootstrap/blob/main/site/layouts/shortcodes/docsref.html Examples: https://github.com/twbs/bootstrap/blob/main/site/content/docs/5.3/examples/_index.md

Going back to v0.122.0 works without errors.

olikami commented 8 months ago

I have the same issue, here's a reproducible minimal example:

https://github.com/olikami/relrefdemo

mbevc1 commented 7 months ago

After this patch it fails with files now :thinking: , e.g. htm md

hugo v0.123.2-929b91fe75cb0d041f22b4707700dfc117115ad4+extended linux/amd64 BuildDate=2024-02-22T15:27:15Z VendorInfo=gohugoio
jmooring commented 7 months ago

@mbevc1 This issue is closed. Please open a new issue and include a reproducible example.

github-actions[bot] commented 7 months ago

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.