a03a33fb22
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [starlight-blog](https://redirect.github.com/HiDeoo/starlight-blog) ([source](https://redirect.github.com/HiDeoo/starlight-blog/tree/HEAD/packages/starlight-blog)) | dependencies | minor | [`0.15.0` -> `0.16.1`](https://renovatebot.com/diffs/npm/starlight-blog/0.15.0/0.16.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-blog (starlight-blog)</summary> ### [`v0.16.1`](https://redirect.github.com/HiDeoo/starlight-blog/blob/HEAD/packages/starlight-blog/CHANGELOG.md#0161) [Compare Source](https://redirect.github.com/HiDeoo/starlight-blog/compare/starlight-blog@0.16.0...starlight-blog@0.16.1) ##### Patch Changes - [#​105](https://redirect.github.com/HiDeoo/starlight-blog/pull/105) [`4ce050c`](https://redirect.github.com/HiDeoo/starlight-blog/commit/4ce050c9e6317d2cb3b7329e84aa9b0a5aa02cb5) Thanks [@​HiDeoo](https://redirect.github.com/HiDeoo)! - Adds support for passing [`Infinity`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity) to the [`postCount`](https://starlight-blog-docs.vercel.app/configuration#postcount) and [`recentPostCount`](https://starlight-blog-docs.vercel.app/configuration#recentpostcount) configuration options. ### [`v0.16.0`](https://redirect.github.com/HiDeoo/starlight-blog/blob/HEAD/packages/starlight-blog/CHANGELOG.md#0160) [Compare Source](https://redirect.github.com/HiDeoo/starlight-blog/compare/v0.15.0...starlight-blog@0.16.0) ##### Minor Changes - [#​100](https://redirect.github.com/HiDeoo/starlight-blog/pull/100) [`679e509`](https://redirect.github.com/HiDeoo/starlight-blog/commit/679e50998bad26034735c99302de5645dd87bf6e) 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. Note that the [`legacy.collections` flag](https://docs.astro.build/en/reference/legacy-flags/#collections) is not supported by this plugin and you should update your collections to use Astro's new Content Layer API. ⚠️ **BREAKING CHANGE:** The generated RSS feed no longer includes content of blog posts due to a [regression](https://redirect.github.com/withastro/astro/issues/12669) in Astro v5. The feature will be restored in a future release. 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.