4496c424c5
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [starlight-links-validator](https://redirect.github.com/HiDeoo/starlight-links-validator) | dependencies | minor | [`0.12.4` -> `0.13.0`](https://renovatebot.com/diffs/npm/starlight-links-validator/0.12.4/0.13.0) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes <details> <summary>HiDeoo/starlight-links-validator (starlight-links-validator)</summary> ### [`v0.13.0`](https://redirect.github.com/HiDeoo/starlight-links-validator/releases/tag/v0.13.0) [Compare Source](https://redirect.github.com/HiDeoo/starlight-links-validator/compare/v0.12.4...v0.13.0) ##### 🚨 Breaking Changes - Adds errors for local links, e.g. URLs with a hostname of `localhost` or `127.0.0.1` - by [@​HiDeoo](https://redirect.github.com/HiDeoo) [<samp>(80636)</samp>](https://redirect.github.com/HiDeoo/starlight-links-validator/commit/806366c) 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 the `errorOnLocalLinks` option to `false` in your `astro.config.mjs` file: ```ts export default defineConfig({ integrations: [ starlight({ plugins: [ starlightLinksValidator({ errorOnLocalLinks: false, }), ], }), ], }); ``` ##### [View changes on GitHub](https://redirect.github.com/HiDeoo/starlight-links-validator/compare/v0.12.4...v0.13.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuMyIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi4zIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
Chart Docs
News
- To add new authors, add their username in the
authors.tsfile insrc/content/docs/news/authors.ts. - News Posts must have these fields in the
frontmatter:titleslug(must start withnews/)dateauthors(The key in theauthorsobject insrc/content/docs/news/authors.ts)
Supported Code Block Languages
Check upstream docs
🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run dev-windows |
Starts local dev server on windows machines |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
Starlight looks for .md or .mdx files in the src/content/docs/ directory. Each file is exposed as a route based on its file name.
Images can be added to src/assets/ and embedded in Markdown with a relative link.
Static assets, like favicons, can be placed in the public/ directory.
👀 Want to learn more?
Check out Starlight’s docs, read the Astro documentation, or jump into the Astro Discord server.