5aea13ee2a
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@astrojs/starlight](https://starlight.astro.build) ([source](https://redirect.github.com/withastro/starlight/tree/HEAD/packages/starlight)) | dependencies | patch | [`0.29.0` -> `0.29.2`](https://renovatebot.com/diffs/npm/@astrojs%2fstarlight/0.29.0/0.29.2) | --- > [!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>withastro/starlight (@​astrojs/starlight)</summary> ### [`v0.29.2`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0292) [Compare Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/starlight@0.29.1...@astrojs/starlight@0.29.2) ##### Patch Changes - [#​2616](https://redirect.github.com/withastro/starlight/pull/2616) [`128cc51`](https://redirect.github.com/withastro/starlight/commit/128cc51b416a1a934eabb1989c04b76517e77a04) Thanks [@​delucis](https://redirect.github.com/delucis)! - Fixes an edge case to correctly avoid a trailing slash when navigating from a root locale homepage to another language via Starlight’s language switcher when `trailingSlash: 'never'` is set ### [`v0.29.1`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0291) [Compare Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/starlight@0.29.0...@astrojs/starlight@0.29.1) ##### Patch Changes - [#​2611](https://redirect.github.com/withastro/starlight/pull/2611) [`6059d96`](https://redirect.github.com/withastro/starlight/commit/6059d961a6b31fd7848b0c59411fc6370e62abab) Thanks [@​HiDeoo](https://redirect.github.com/HiDeoo)! - Fixes a UI string type issue in projects with multiple data content collections. - [#​2606](https://redirect.github.com/withastro/starlight/pull/2606) [`10b15a7`](https://redirect.github.com/withastro/starlight/commit/10b15a7fcda4805dda622f893b6671b96a349161) Thanks [@​delucis](https://redirect.github.com/delucis)! - Makes `<CardGrid>` more resilient to complex child content on smaller viewports - [#​2605](https://redirect.github.com/withastro/starlight/pull/2605) [`ec7ab4f`](https://redirect.github.com/withastro/starlight/commit/ec7ab4f1df83052aa00c5f560adf7e7b8d61c9db) Thanks [@​brianzelip](https://redirect.github.com/brianzelip)! - Exposes `SidebarPersister` component in package exports for use in custom overrides - [#​2614](https://redirect.github.com/withastro/starlight/pull/2614) [`9a31980`](https://redirect.github.com/withastro/starlight/commit/9a319807c698f65b461f456c54c413081ab551f0) Thanks [@​HiDeoo](https://redirect.github.com/HiDeoo)! - Fixes an issue with custom pages using the `<StarlightPage />` component and a custom sidebar missing highlighting for the active page and navigation links. - [#​2600](https://redirect.github.com/withastro/starlight/pull/2600) [`49aef17`](https://redirect.github.com/withastro/starlight/commit/49aef173811d05ae132729c92c3920a142ceeb7d) Thanks [@​jdevega](https://redirect.github.com/jdevega)! - Adds Backstage social icon - [#​2613](https://redirect.github.com/withastro/starlight/pull/2613) [`a73780f`](https://redirect.github.com/withastro/starlight/commit/a73780fb280feb5b96ffa94539633b2930bd8e76) Thanks [@​delucis](https://redirect.github.com/delucis)! - Fixes support for `sidebar` frontmatter options in sidebar entries using `slug` or the string shorthand for internal links </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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNyIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi43IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
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.