-
-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
13.0.2
Link to runnable example
https://github.com/rancher/rke2-docs/actions/runs/11658790536/job/32458348363?pr=277
Steps to reproduce
Prior to 13.02, usage of assets under the root/static/ folder via Docusarous Static Assests support https://docusaurus.io/docs/static-assets did not trigger broken links.
Expected behavior
For example, https://github.com/rancher/rke2-docs/blob/main/docs/security/fips_support.md?plain=1#L7, which points to a PDF, works correctly on the actual website, https://docs.rke2.io/security/fips_support. This is because Docusarous will
Docusaurus will try to look for it in both static/img/docusaurus.png and public/img/docusaurus.png. The link will then be converted to a require() call instead of staying as a URL.
The remarks-validate-links should not identify this link as broken.
Actual behavior
The remarks-validate-links identify this link as broken.
Affected runtime and version
Affected package manager and version
yarn version v1.22.22
Affected OS and version
No response
Build and bundle tools
Docusaurus