v0.13.0
🚨 Breaking Changes
-
Adds errors for local links, e.g. URLs with a hostname of
localhost
or127.0.0.1
- by @HiDeoo (80636)In previous versions, such links were silently ignored. They are now considered as invalid links as they are usually used for development purposes and should not be present in production.
If you want to preserve the previous behaviour, you can set theerrorOnLocalLinks
option tofalse
in yourastro.config.mjs
file:export default defineConfig({ integrations: [ starlight({ plugins: [ starlightLinksValidator({ errorOnLocalLinks: false, }), ], }), ], });