#1023a3b80f7 Thanks @kevinzunigacuellar! - Respect the trailingSlash and build.format Astro options when creating Starlight navigation links.
⚠️ Potentially breaking change:
This change will cause small changes in link formatting for most sites.
These are unlikely to break anything, but if you care about link formatting, you may want to change some Astro settings.
If you want to preserve Starlight’s previous behavior, set trailingSlash: 'always' in your astro.config.mjs:
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
⚠️ Potentially breaking change:
This addition changes how Markdown code blocks are rendered. By default, Starlight will now use Expressive Code.
If you were already customizing how code blocks are rendered and don't want to use the features provided by Expressive Code, you can preserve the previous behavior by setting the new config option expressiveCode to false.
If you had previously added Expressive Code manually to your Starlight project, you can now remove the manual set-up in astro.config.mjs:
Move your configuration to Starlight’s new expressiveCode option.
Remove the astro-expressive-code integration.
For example:
import starlight from '@astrojs/starlight';
import { defineConfig } from 'astro/config';
#1023a3b80f7 Thanks @kevinzunigacuellar! - Respect the trailingSlash and build.format Astro options when creating Starlight navigation links.
⚠️ Potentially breaking change:
This change will cause small changes in link formatting for most sites.
These are unlikely to break anything, but if you care about link formatting, you may want to change some Astro settings.
If you want to preserve Starlight’s previous behavior, set trailingSlash: 'always' in your astro.config.mjs:
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
⚠️ Potentially breaking change:
This addition changes how Markdown code blocks are rendered. By default, Starlight will now use Expressive Code.
If you were already customizing how code blocks are rendered and don't want to use the features provided by Expressive Code, you can preserve the previous behavior by setting the new config option expressiveCode to false.
If you had previously added Expressive Code manually to your Starlight project, you can now remove the manual set-up in astro.config.mjs:
Move your configuration to Starlight’s new expressiveCode option.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @astrojs/starlight from 0.12.0 to 0.13.1.
Release notes
Sourced from
@astrojs/starlight
's releases.... (truncated)
Changelog
Sourced from
@astrojs/starlight
's changelog.... (truncated)
Commits
eb12a45
[ci] release (#1110)631c5ae
Upgrade@astrojs/sitemap
to latest (#1156)14f9dbd
refactor: destructure props inSidebarSublist.astro
(#1149)cb19d07
i18n(hi): updatemanual setup.mdx
(#1111)0c25c1f
fix(docs-i18n-tracker): updateexpressive-code
import (#1109)7623048
[ci] format5b1b488
[ci] release (#1079)2d72ed6
Ignore search keyboard shortcuts for elements with contents that are editable...8620bb6
[ci] formatc6a4bcb
Add Expressive Code to Starlight (#742)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show