
🍿 Minor Changes
-
#774
903a579
Thanks @HiDeoo! - Support adding HTML attributes to sidebar links from config and frontmatter -
#796
372ec96
Thanks @HiDeoo! - Add the@astrojs/sitemap
and@astrojs/mdx
integrations only if they are not detected in the Astro configuration.⚠️ BREAKING CHANGE The minimum supported version of Astro is now v3.2.0. Make sure you update Astro at the same time as updating Starlight:
Terminal window npm install astro@latest -
#447
b45719b
Thanks @andremralves! - AddtitleDelimiter
configuration option and include site title in page<title>
tags⚠️ BREAKING CHANGE — Previously, every page’s
<title>
only included its individual frontmatter title. Now,<title>
tags include the page title, a delimiter character (|
by default), and the site title. For example, in the Startlight docs,<title>Configuration Reference</title>
is now<title>Configuration Reference | Starlight</title>
.If you have a page where you need to override this new behaviour, set a custom title using the
head
frontmatter property:---title: My Pagehead:- tag: titlecontent: Custom Title--- -
#709
140e729
Thanks @delucis! - Add support for overriding Starlight’s built-in components⚠️ BREAKING CHANGE — The page footer is now included on pages with
template: splash
in their frontmatter. Previously, this was not the case. If you are usingtemplate: splash
and want to continue to hide footer elements, disable them in your frontmatter:---title: Landing pagetemplate: splash# Disable unwanted footer elements as needededitUrl: falselastUpdated: falseprev: falsenext: false---⚠️ BREAKING CHANGE — This change involved refactoring the structure of some of Starlight’s built-in components slightly. If you were previously overriding these using other techniques, you may need to adjust your code.
🐞 Patch Changes
-
#810
dbe977b
Thanks @hasham-qaiser! - Use<span>
instead of<h2>
in sidebar group headings -
#807
7c73dd1
Thanks @torn4dom4n! - Add Vietnamese translations for Starlight UI -
#756
f55a8f0
Thanks @julien-deramond! - Prevent text from overflowing in several cases