github withastro/starlight @astrojs/starlight@0.11.0

latest releases: @astrojs/starlight@0.28.2, @astrojs/starlight@0.28.1, @astrojs/starlight@0.28.0...
12 months ago

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:

    npm install astro@latest
  • #447 b45719b Thanks @andremralves! - Add titleDelimiter 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 Page
    head:
      - tag: title
        content: 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 using template: splash and want to continue to hide footer elements, disable them in your frontmatter:

    ---
    title: Landing page
    template: splash
    # Disable unwanted footer elements as needed
    editUrl: false
    lastUpdated: false
    prev: false
    next: 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

Don't miss a new starlight release

NewReleases is sending notifications on new releases.