
🍿 Minor Changes
-
#774
903a579Thanks @HiDeoo! - Support adding HTML attributes to sidebar links from config and frontmatter -
#796
372ec96Thanks @HiDeoo! - Add the@astrojs/sitemapand@astrojs/mdxintegrations 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
b45719bThanks @andremralves! - AddtitleDelimiterconfiguration 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
headfrontmatter property:---title: My Pagehead:- tag: titlecontent: Custom Title--- -
#709
140e729Thanks @delucis! - Add support for overriding Starlight’s built-in components⚠️ BREAKING CHANGE — The page footer is now included on pages with
template: splashin their frontmatter. Previously, this was not the case. If you are usingtemplate: splashand 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
dbe977bThanks @hasham-qaiser! - Use<span>instead of<h2>in sidebar group headings -
#807
7c73dd1Thanks @torn4dom4n! - Add Vietnamese translations for Starlight UI -
#756
f55a8f0Thanks @julien-deramond! - Prevent text from overflowing in several cases