-
Notifications
You must be signed in to change notification settings - Fork 8
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
False 'invalid link' errors after upgrading to Astro 5.0.5 + SL 0.30.1 #76
Comments
Thanks for the report. This plugin is not yet compatible with Starlight 0.30 and Astro 5. I'm currently working on it and it should be available in the next few days. |
Marvellous. Thank you for the update. |
Same - a workaround that worked in ratatui/ratatui-website#795 was to remove the leading / from the links. This shouldn't be necessary, but hopefully that helps diagnose the underlying issue. |
This should now be fixed in the version 0.14.0 of the plugin that I just published. I highly recommend to take a look at the changes for potential breaking changes or known issues. |
Upgrading from I was able to pinpoint the root cause of the problem. For example, if your file looks like this: ./src/content/docs/bugs/index.md ---
title: 🐞 Bugs
--- And you reference it in an However, if you modify the file to include content, like this: ./src/content/docs/bugs/index.md ---
title: 🐞 Bugs
---
foobar The validation error is resolved. |
This seems to be an Astro regression tracked in withastro/astro#12800 |
Describe the bug
After upgrading to the new Astro, I am getting "invalid link" errors on some - but not all - pages that previously passed the validation.
To Reproduce
Expected behavior
Valid links should not generate 'invalid link' errors, whether they are on .md or .mdx pages.
How often does this bug happen?
Every time
System Info
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: