b4ca7d67df
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [starlight-links-validator](https://redirect.github.com/HiDeoo/starlight-links-validator) ([source](https://redirect.github.com/HiDeoo/starlight-links-validator/tree/HEAD/packages/starlight-links-validator)) | dependencies | minor | [`0.13.4` -> `0.14.1`](https://renovatebot.com/diffs/npm/starlight-links-validator/0.13.4/0.14.1) | --- > [!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.14.1`](https://redirect.github.com/HiDeoo/starlight-links-validator/blob/HEAD/packages/starlight-links-validator/CHANGELOG.md#0141) [Compare Source](https://redirect.github.com/HiDeoo/starlight-links-validator/compare/starlight-links-validator@0.14.0...starlight-links-validator@0.14.1) ##### Patch Changes - [#​82](https://redirect.github.com/HiDeoo/starlight-links-validator/pull/82) [`b3cbee8`](https://redirect.github.com/HiDeoo/starlight-links-validator/commit/b3cbee83fb54f5bd6dd06b01bb8397758c081752) Thanks [@​HiDeoo](https://redirect.github.com/HiDeoo)! - Fixes regresion introduced in version [`0.14.0`](https://redirect.github.com/HiDeoo/starlight-links-validator/releases/tag/starlight-links-validator%400.14.0) of the plugin regarding validation of links to pages with [custom IDs/slugs](https://docs.astro.build/en/guides/content-collections/#defining-custom-ids). Note that you must use at least Astro version [`5.1.1`](https://redirect.github.com/withastro/astro/releases/tag/astro%405.1.1) to benefit from this fix. - [#​80](https://redirect.github.com/HiDeoo/starlight-links-validator/pull/80) [`876cb50`](https://redirect.github.com/HiDeoo/starlight-links-validator/commit/876cb5094d10a56a1be04b7cdc27e4f89fb1b681) Thanks [@​lukekarrys](https://redirect.github.com/lukekarrys)! - Fixes validation issues for pages ending in `index`, e.g. `module_index`. ### [`v0.14.0`](https://redirect.github.com/HiDeoo/starlight-links-validator/blob/HEAD/packages/starlight-links-validator/CHANGELOG.md#0140) [Compare Source](https://redirect.github.com/HiDeoo/starlight-links-validator/compare/v0.13.4...starlight-links-validator@0.14.0) ##### Minor Changes - [#​77](https://redirect.github.com/HiDeoo/starlight-links-validator/pull/77) [`486a379`](https://redirect.github.com/HiDeoo/starlight-links-validator/commit/486a379c5bda40584126c376e14a3c82c23bd449) Thanks [@​HiDeoo](https://redirect.github.com/HiDeoo)! - Adds support for Astro v5, drops support for Astro v4. ⚠️ **BREAKING CHANGE:** The minimum supported version of Starlight is now `0.30.0`. Please follow the [upgrade guide](https://redirect.github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.30.0) to update your project. When using the plugin with the [Content Layer API](https://docs.astro.build/en/guides/content-collections), the plugin will now automatically invalidate the content layer cache so that all links can be properly validated. To avoid unnecessary cache invalidation, it is recommended to conditionally use the plugin only when necessary. Check out the new [“Conditional Validation”](https://starlight-links-validator.vercel.app/guides/conditional-validation/) guide for more information. ⚠️ **BREAKING CHANGE:** Due to a [regression](https://redirect.github.com/withastro/astro/issues/12778) in Astro v5, links to pages with [custom IDs/slugs](https://docs.astro.build/en/guides/content-collections/#defining-custom-ids) can no longer be validated and will be flagged as invalid. If you rely on this feature, please stay on a previous version of Starlight and Astro in the meantime. </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:eyJjcmVhdGVkSW5WZXIiOiIzOS44Mi45IiwidXBkYXRlZEluVmVyIjoiMzkuODIuOSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->
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.