aede45b7ca
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@astrojs/sitemap](https://docs.astro.build/en/guides/integrations-guide/sitemap/) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap)) | dependencies | patch | [`3.3.0` -> `3.3.1`](https://renovatebot.com/diffs/npm/@astrojs%2fsitemap/3.3.0/3.3.1) | | [astro](https://astro.build) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro)) | dependencies | patch | [`5.7.4` -> `5.7.5`](https://renovatebot.com/diffs/npm/astro/5.7.4/5.7.5) | Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes <details> <summary>withastro/astro (@​astrojs/sitemap)</summary> ### [`v3.3.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#331) ##### Patch Changes - [#​13591](https://redirect.github.com/withastro/astro/pull/13591) [`5dd2d3f`](https://redirect.github.com/withastro/astro/commit/5dd2d3fde8a138ed611dedf39ffa5dfeeed315f8) Thanks [@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Removes unused code </details> <details> <summary>withastro/astro (astro)</summary> ### [`v5.7.5`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#575) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@5.7.4...astro@5.7.5) ##### Patch Changes - [#​13660](https://redirect.github.com/withastro/astro/pull/13660) [`620d15d`](https://redirect.github.com/withastro/astro/commit/620d15d8483dfb1822cd47833bc1653e0b704ccb) Thanks [@​mingjunlu](https://redirect.github.com/mingjunlu)! - Adds `server.allowedHosts` docs comment to `AstroUserConfig` - [#​13591](https://redirect.github.com/withastro/astro/pull/13591) [`5dd2d3f`](https://redirect.github.com/withastro/astro/commit/5dd2d3fde8a138ed611dedf39ffa5dfeeed315f8) Thanks [@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Removes unused code - [#​13669](https://redirect.github.com/withastro/astro/pull/13669) [`73f24d4`](https://redirect.github.com/withastro/astro/commit/73f24d400acdc48462a7bc5277b8cee2bcf97580) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes an issue where `Astro.originPathname` wasn't returning the correct value when using rewrites. - [#​13674](https://redirect.github.com/withastro/astro/pull/13674) [`42388b2`](https://redirect.github.com/withastro/astro/commit/42388b24d6eb866a3129118d22b2f6c71071d0bd) Thanks [@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Fixes a case where an experimental fonts API error would be thrown when using another `astro:assets` API - [#​13654](https://redirect.github.com/withastro/astro/pull/13654) [`4931457`](https://redirect.github.com/withastro/astro/commit/49314575a76b52b43e491a0a33c0ccaf9cafb058) Thanks [@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Fixes `fontProviders.google()` so it can forward options to the unifont provider, when using the experimental fonts API - Updated dependencies \[[`5dd2d3f`](https://redirect.github.com/withastro/astro/commit/5dd2d3fde8a138ed611dedf39ffa5dfeeed315f8)]: - [@​astrojs/telemetry](https://redirect.github.com/astrojs/telemetry)[@​3](https://redirect.github.com/3).2.1 </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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
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.