Files
website/node_modules/@astrojs/starlight/CHANGELOG.md
2024-05-06 17:15:30 -04:00

98 KiB
Raw Blame History

@astrojs/starlight

0.22.1

Patch Changes

  • 1c0fc384 Thanks @HiDeoo! - Fixes an issue where the siteTitle property would not be set when using the <StarlightPage /> component.

0.22.0

Minor Changes

  • #640 7dc503ea Thanks @HiDeoo! - Adds support for syncing multiple sets of tabs on the same page.

  • #1620 ca0678ca Thanks @emjio! - Adds support for translating the site title

    ⚠️ Potentially breaking change: The shape of the title field on Starlights internal config object has changed. This used to be a string, but is now an object.

    If you are relying on config.title (for example in a custom <SiteTitle> or <Head> component), you will need to update your code. We recommend using the new siteTitle prop available to component overrides:

    ---
    import type { Props } from '@astrojs/starlight/props';
    
    // The site title for this pages language:
    const { siteTitle } = Astro.props;
    ---
    
  • #1613 61493e55 Thanks @HiDeoo! - Adds new draft frontmatter option to exclude a page from production builds.

  • #640 7dc503ea Thanks @HiDeoo! - Updates the default line-height from 1.8 to 1.75. This change avoids having a line height with a fractional part which can cause scripts accessing dimensions involving the line height to get an inconsistent rounded value in various browsers.

    If you want to preserve the previous line-height, you can add the following custom CSS to your site:

    :root {
    	--sl-line-height: 1.8;
    }
    
  • #1720 749ddf85 Thanks @jacobdalamb! - Updates astro-expressive-code dependency to the latest minor release (0.35) and exposes a new @astrojs/starlight/expressive-code/hast module for users who need to use Expressive Codes version of hast.

    This includes a potentially breaking change if you use custom Expressive Code plugins. See the Expressive Code release notes for full details.

  • #1769 bd5f1cbd Thanks @ncjones! - Adds support for accessing frontmatter data as a variable when using Markdoc

Patch Changes

0.21.5

Patch Changes

  • #1728 0a75680d Thanks @delucis! - Adds 1 new icon: pkl

  • #1709 c5cd1811 Thanks @HiDeoo! - Fixes a UI strings translation issue for sites configured with a single non-root language different from English.

  • #1723 3b29b3ab Thanks @OliverSpeir! - Fixes accessibility by using aria-selected="false" for inactive tabs instead of removing aria-selected="true" in the tablist of Starlights <Tabs> component

  • #1706 f171ac4d Thanks @jorenbroekema! - Fixes some minor type errors

0.21.4

Patch Changes

  • #1703 b26238f2 Thanks @HiDeoo! - Fixes aside custom titles rendering for nested asides.

  • #1708 a72cb966 Thanks @HiDeoo! - Fixes translation issues with Expressive Code when using a default language other than English

0.21.3

Patch Changes

0.21.2

Patch Changes

  • #1628 24c0823c Thanks @o-az! - Adds 1 new icon: nix

  • #1614 78fc9042 Thanks @kpodurgiel! - Adds Polish UI translations

  • #1596 13ed30cd Thanks @HiDeoo! - Adds support for toggling the built-in search modal using the Ctrl+k keyboard shortcut.

  • #1608 4096e1b7 Thanks @HiDeoo! - Removes nested CSS from the <FileTree> component to prevent a potential warning when using Tailwind CSS.

  • #1626 67459cb4 Thanks @hippotastic! - Fixes a bundling issue that caused imports from @astrojs/starlight/components to fail when using the config setting expressiveCode: false.

0.21.1

Patch Changes

0.21.0

Minor Changes

  • #1568 5f99a71d Thanks @HiDeoo! - Adds support for optionally setting an icon on a <TabItem> component to make it easier to visually distinguish between tabs.

  • #1308 9a918a5b Thanks @HiDeoo! - Adds <FileTree> component to display the structure of a directory.

  • #1308 9a918a5b Thanks @HiDeoo! - Adds 144 new file-type icons from the Seti UI icon set, available with the seti: prefix, e.g. seti:javascript.

  • #1564 d880065e Thanks @delucis! - Adds a <Steps> component for styling more complex guided tasks.

  • #1308 9a918a5b Thanks @HiDeoo! - Adds 5 new icons: astro, biome, bun, mdx, and pnpm.

0.20.1

Patch Changes

0.20.0

Minor Changes

  • #1541 1043052f Thanks @hippotastic! - Updates astro-expressive-code dependency to the latest minor release (0.33).

    This unlocks support for word wrap and line numbers, as well as updating the syntax highlighter to the latest Shiki release, which includes new and updated language grammars.

    See the Expressive Code release notes for more information including details of potentially breaking changes.

Patch Changes

0.19.1

Patch Changes

  • #1527 163bc84 Thanks @HiDeoo! - Exports the StarlightPageProps TypeScript type representing the props expected by the <StarlightPage /> component.

  • #1504 fc83a05 Thanks @mingjunlu! - Adds Traditional Chinese UI translations

  • #1534 aada680 Thanks @delucis! - Improves DX of the sidebar prop used by the new <StarlightPage> component.

0.19.0

Minor Changes

0.18.1

Patch Changes

0.18.0

Minor Changes

  • #1454 1d9ef56 Thanks @Fryuni! - Makes Starlight compatible with on-demand server rendering (sometimes referred to as server-side rendering or SSR).

    Starlight pages are always prerendered, even when using output: 'server'.

  • #1454 1d9ef56 Thanks @Fryuni! - Enables Astros experimental.globalRoutePriority option and bumps the minimum required Astro version.

    ⚠️ BREAKING CHANGE The minimum supported Astro version is now 4.2.7. Upgrade Astro and Starlight together:

    npx @astrojs/upgrade
    

0.17.4

Patch Changes

  • #1473 29da505 Thanks @delucis! - Fixes a CSS bug for users with JavaScript disabled

  • #1465 ce3108c Thanks @delucis! - Updates internal MDX, sitemap, and Expressive Code dependencies to the latest versions

0.17.3

Patch Changes

  • #1461 2e17880 Thanks @liruifengv! - Improves the table of contents title translation in Simplified Chinese

  • #1462 4741ccc Thanks @delucis! - Fixes overflow of very long site titles on narrow viewports

  • #1459 9a8e0ec Thanks @delucis! - Fixes a bug where table of contents highlighting could break given very specific combinations of content and viewport size

  • #1458 8c88642 Thanks @delucis! - Silences i18n content collection warnings for projects without custom translations.

0.17.2

Patch Changes

  • #1442 1a642e4 Thanks @delucis! - Fixes URLs in language picker for sites with build.format: 'file'

  • #1440 2ea1e88 Thanks @hippotastic! - Adds JS support to the @astrojs/starlight/expressive-code export to allow importing from non-TS environments.

0.17.1

Patch Changes

  • #1437 655aed4 Thanks @hippotastic! - Adds Starlight-specific types to defineEcConfig function and exports StarlightExpressiveCodeOptions.

    This provides Starlight types and IntelliSense support for your Expressive Code configuration options inside an ec.config.mjs file. See the Expressive Code documentation for more information.

  • #1420 275f87f Thanks @abdelhalimjean! - Fix rare font-family issue if users have a font installed with a name of ""

  • #1365 a0af7cc Thanks @kevinzunigacuellar! - Correctly format Pagefind search result links when trailingSlash: 'never' is used

0.17.0

Minor Changes

0.16.0

Minor Changes

  • #1383 490c6ef Thanks @delucis! - Refactors Starlights internal virtual module system for components to avoid circular references

    This is a change to an internal API. If you were importing the internal virtual:starlight/components module, this no longer exists. Update your imports to use the individual virtual modules now available for each component, for example virtual:starlight/components/EditLink.

  • #1151 134292d Thanks @kevinzunigacuellar! - Fixes sidebar auto-generation issue when a file and a directory, located at the same level, have identical names.

    For example, src/content/docs/guides.md and src/content/docs/guides/example.md will now both be included and src/content/docs/guides.md is treated in the same way a src/content/docs/guides/index.md file would be.

  • #1386 0163634 Thanks @delucis! - Tightens line-height on <LinkCard> titles to fix regression from original design

    If you want to preserve the previous line-height, you can add the following custom CSS to your site:

    .sl-link-card a {
    	line-height: 1.6;
    }
    
  • #1376 8398432 Thanks @delucis! - Tweaks vertical spacing in Markdown content styles.

    This is a subtle change to Starlights default content styling that should improve most sites:

    • Default vertical spacing between content items is reduced from 1.5rem to 1rem.
    • Spacing before headings is now relative to font size, meaning higher-level headings have slightly more spacing and lower-level headings slightly less.

    The overall impact is to tighten up content that belongs together and improve the visual hierarchy of headings to break up sections.

    Although this is a subtle change, we recommend visually inspecting your site in case this impacts layout of any custom CSS or components.

    If you want to preserve the previous spacing, you can add the following custom CSS to your site:

    /* Restore vertical spacing to match Starlight v0.15 and below. */
    .sl-markdown-content
    	:not(a, strong, em, del, span, input, code)
    	+ :not(a, strong, em, del, span, input, code, :where(.not-content *)) {
    	margin-top: 1.5rem;
    }
    .sl-markdown-content
    	:not(h1, h2, h3, h4, h5, h6)
    	+ :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) {
    	margin-top: 2.5rem;
    }
    
  • #1372 773880d Thanks @HiDeoo! - Updates the table of contents highlighting styles to prevent UI shifts when scrolling through a page.

    If you want to preserve the previous, buggy styling, you can add the following custom CSS to your site:

    starlight-toc a[aria-current='true'],
    starlight-toc a[aria-current='true']:hover,
    starlight-toc a[aria-current='true']:focus {
    	font-weight: 600;
    	color: var(--sl-color-text-invert);
    	background-color: var(--sl-color-text-accent);
    }
    

0.15.4

Patch Changes

  • #1378 0f4a31d Thanks @delucis! - Updates dependencies: @astrojs/mdx, @astrojs/sitemap, and astro-expressive-code

0.15.3

Patch Changes

0.15.2

Patch Changes

0.15.1

Patch Changes

0.15.0

Minor Changes

  • #1238 02a808e Thanks @delucis! - Add support for Astro v4, drop support for Astro v3

    ⚠️ BREAKING CHANGE Astro v3 is no longer supported. Make sure you update Astro and any other integrations at the same time as updating Starlight.

    Use the new @astrojs/upgrade command to upgrade Astro and Starlight together:

    npx @astrojs/upgrade
    
  • #1242 d8fc9e1 Thanks @delucis! - Enables link prefetching on hover by default

    Astro v4s prefetch support is now enabled by default. If prefetch is not set in astro.config.mjs, Starlight will use prefetch: { prefetchAll: true, defaultStrategy: 'hover' } by default.

    If you want to preserve previous behaviour, disable link prefetching in astro.config.mjs:

    import { defineConfig } from 'astro/config';
    import starlight from '@astrojs/starlight';
    
    export default defineConfig({
    	// Disable link prefetching:
    	prefetch: false,
    
    	integrations: [
    		starlight({
    			// ...
    		}),
    	],
    });
    

Patch Changes

0.14.0

Minor Changes

  • #1144 7c0b8cb Thanks @delucis! - Adds a configuration option to disable site indexing with Pagefind and the default search UI

  • #942 efd7fdc Thanks @HiDeoo! - Adds plugin API

    See the plugins reference to learn more about creating plugins for Starlight using this new API.

  • #1135 e5a863a Thanks @delucis! - Exposes localized UI strings in route data

    Component overrides can now access a labels object in their props which includes all the localized UI strings for the current page.

  • #1162 00d101b Thanks @delucis! - Adds support for extending Starlights content collection schemas

0.13.1

Patch Changes

0.13.0

Minor Changes

  • #1023 a3b80f7 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 Starlights previous behavior, set trailingSlash: 'always' in your astro.config.mjs:

    import { defineConfig } from 'astro/config';
    import starlight from '@astrojs/starlight';
    
    export default defineConfig({
    	trailingSlash: 'always',
    	integrations: [
    		starlight({
    			// ...
    		}),
    	],
    });
    
  • #742 c6a4bcb Thanks @hippotastic! - Adds Expressive Code as Starlights default code block renderer

    ⚠️ 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 Starlights new expressiveCode option.
    • Remove the astro-expressive-code integration.

    For example:

    import starlight from '@astrojs/starlight';
    import { defineConfig } from 'astro/config';
    - import expressiveCode from 'astro-expressive-code';
    
    export default defineConfig({
      integrations: [
    -   expressiveCode({
    -     themes: ['rose-pine'],
    -   }),
        starlight({
          title: 'My docs',
    +     expressiveCode: {
    +       themes: ['rose-pine'],
    +     },
        }),
      ],
    });
    

    Note that the built-in Starlight version of Expressive Code sets some opinionated defaults that are different from the astro-expressive-code defaults. You may need to set some styleOverrides if you wish to keep styles exactly the same.

  • #517 5b549cb Thanks @liruifengv! - Add i18n support for default aside labels

Patch Changes

0.12.1

Patch Changes

  • #1069 b86f360 Thanks @Genteure! - Fix sidebar highlighting and navigation buttons for pages with path containing non-ASCII characters

  • #1025 0d1e75e Thanks @HiDeoo! - Internal: fix import issue in translation string loading mechanism

  • #1044 a5a9754 Thanks @HiDeoo! - Fix last updated dates for pages displaying fallback content

  • #1049 c27495d Thanks @HiDeoo! - Expose Markdown content styles in @astrojs/starlight/style/markdown.css

0.12.0

Minor Changes

  • #995 5bf4457 Thanks @kevinzunigacuellar! - Adds support for adding sidebar badges to group headings

  • #988 977fe13 Thanks @magicDGS! - Include social icon links in mobile menu

  • #280 72cca2d Thanks @cbontems! - Support light & dark variants of the hero image.

    ⚠️ Potentially breaking change: The hero.image schema is now slightly stricter than previously.

    The hero.image.html property can no longer be used alongside the hero.image.alt or hero.image.file properties. Previously, html was ignored when used with file and alt was ignored when used with html. Now, those combinations will throw errors. If you encounter errors, remove the image.hero property that is not in use.

Patch Changes

  • #1004 7f92213 Thanks @nunhes! - Add Galician language support

  • #1003 f1fdb50 Thanks @delucis! - Internal: refactor translation string loading to make translations available to Starlight integration code

0.11.2

Patch Changes

0.11.1

Patch Changes

0.11.0

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 pages <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 Starlights 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 Starlights built-in components slightly. If you were previously overriding these using other techniques, you may need to adjust your code.

Patch Changes

0.10.4

Patch Changes

0.10.3

Patch Changes

0.10.2

Patch Changes

0.10.1

Patch Changes

0.10.0

Minor Changes

  • #692 2a58e1a Thanks @delucis! - Upgrade Pagefind to v1 and display page headings in search results

Patch Changes

0.9.1

Patch Changes

  • #647 ea57726 Thanks @bgmort! - Fix translated 404 pages not being excluded from search results

  • #667 9828f73 Thanks @delucis! - Break inline <code> across lines to avoid overflow

  • #642 e623d92 Thanks @fk! - Don't hard-code nav height in table of contents highlighting script

  • #676 6419006 Thanks @vedmalex! - Upgrade and pin Pagefind to latest beta release.

  • #647 ea57726 Thanks @bgmort! - Add frontmatter option to exclude a page from Pagefind search results

0.9.0

Minor Changes

  • #626 5dd22b8 Thanks @delucis! - Throw an error for duplicate MDX or sitemap integrations

  • #615 7b75b3e Thanks @delucis! - Bump minimum required Astro version to 3.0

    ⚠️ BREAKING CHANGE Astro v2 is no longer supported. Make sure you update Astro and any other integrations at the same time as updating Starlight.

0.8.1

Patch Changes

0.8.0

Minor Changes

  • #529 c2d0e7f Thanks @delucis! - For improved compatibility with Tailwind, some Starlight built-in class names are now prefixed with "sl-".

    While not likely, if you were relying on one of these internal class names in your own components or custom CSS, you will need to update to use the prefixed version.

    • Before: flex, md:flex, lg:flex, block, md:block, lg:block, hidden, md:hidden, lg:hidden.
    • After: sl-flex, md:sl-flex, lg:sl-flex, sl-block, md:sl-block, lg:sl-block, sl-hidden, md:sl-hidden, lg:sl-hidden.
  • #593 5b8af95 Thanks @delucis! - Add announcement banner feature

  • #516 70a32a1 Thanks @kevinzunigacuellar! - Support adding badges to sidebar links from config file and frontmatter

Patch Changes

0.7.3

Patch Changes

0.7.2

Patch Changes

0.7.1

Patch Changes

  • #488 da35556 Thanks @mayank99! - Improved accessibility of LinkCard by only including the title as part of the link text, and using a pseudo-element to keep the card clickable.

  • #489 35cd82e Thanks @HiDeoo! - Respect hidden sidebar frontmatter property when no sidebar configuration is provided

0.7.0

Minor Changes

  • #441 0119a49 Thanks @lorenzolewis! - Add support for hiding entries from an autogenerated sidebar:

    ---
    title: About this project
    sidebar:
      hidden: true
    ---
    
  • #470 d076aec Thanks @delucis! - Drop support for the --sl-hue-accent CSS custom property.

    ⚠️ BREAKING CHANGE — In previous Starlight versions you could control the accent color by setting the --sl-hue-accent custom property. This could result in inaccessible color contrast and unpredictable results.

    You must now set accent colors directly. If you relied on setting --sl-hue-accent, migrate by setting light and dark mode colors in your custom CSS:

    :root {
    	--sl-hue-accent: 234;
    	--sl-color-accent-low: hsl(var(--sl-hue-accent), 54%, 20%);
    	--sl-color-accent: hsl(var(--sl-hue-accent), 100%, 60%);
    	--sl-color-accent-high: hsl(var(--sl-hue-accent), 100%, 87%);
    }
    
    :root[data-theme='light'] {
    	--sl-color-accent-high: hsl(var(--sl-hue-accent), 80%, 30%);
    	--sl-color-accent: hsl(var(--sl-hue-accent), 90%, 60%);
    	--sl-color-accent-low: hsl(var(--sl-hue-accent), 88%, 90%);
    }
    

    The new color theme editor might help if youd prefer to set a new color scheme.

  • #397 73eb5e6 Thanks @lorenzolewis! - Add LinkCard component

Patch Changes

  • #460 2e0fb90 Thanks @HiDeoo! - Fix current page highlight in sidebar for URLs with no trailing slash

  • #467 461a5d5 Thanks @delucis! - Fix type error for downstream tsc users

  • #475 06a205e Thanks @Yan-Thomas! - Locales whose language tag includes a regional subtag now use built-in UI translations for their base language. For example, a locale with a language of pt-BR will use our pt UI translations.

  • #473 6a7692a Thanks @HiDeoo! - Fix issue with nested <Tabs> components

0.6.1

Patch Changes

0.6.0

Minor Changes

  • #424 4485d90 Thanks @delucis! - Add support for customising autogenerated sidebar link labels from page frontmatter, overriding the page title:

    ---
    title: About this project
    sidebar:
      label: About
    ---
    
  • #359 e733311 Thanks @IDurward! - Add support for defining the order of auto-generated link groups in the sidebar using a frontmatter value:

    ---
    title: Page to display first
    sidebar:
      order: 1
    ---
    

Patch Changes

  • #413 5a9d8f1 Thanks @delucis! - Fix site title overflow bug for longer titles on narrow screens

  • #381 6e62909 Thanks @lorenzolewis! - Preserve order of social config in navbar

  • #419 38ff53c Thanks @lorenzolewis! - Improve styling of sidebar entries that wrap onto multiple lines

  • #418 c7b2a4e Thanks @delucis! - Set tab-size: 2 on content code blocks to override default browser value of 8

  • #399 31b8a5a Thanks @HiDeoo! - Add new global favicon option defaulting to '/favicon.svg' to set the path of the default favicon for your website. Additional icons can be specified using the head option.

  • #414 e951671 Thanks @delucis! - Add GitLab to social link icons

0.5.6

Patch Changes

0.5.5

Patch Changes

  • a161c05 Thanks @delucis! - Fix missing metadata required for astro add support

0.5.4

Patch Changes

0.5.3

Patch Changes

0.5.2

Patch Changes

  • #343 d618678 Thanks @delucis! - Fix escaping of non-relative user config file paths for custom CSS and logos

0.5.1

Patch Changes

0.5.0

Minor Changes

  • #313 dc42569 Thanks @delucis! - Add a not-content CSS class that allows users to opt out of Starlights default content styling

  • #297 fb15a9b Thanks @HiDeoo! - Improve <Tabs> component keyboard interactions

  • #303 69b7d4c Thanks @HiDeoo! - Add new global pagination option defaulting to true to define whether or not the previous and next page links are shown in the footer. A page can override this setting or the link text and/or URL using the new prev and next frontmatter fields.

Patch Changes

  • #318 5db3e6e Thanks @delucis! - Support relative paths in Starlight config for customCSS and logo paths

0.4.2

Patch Changes

0.4.1

Patch Changes

0.4.0

Minor Changes

  • #259 8102389 Thanks @HiDeoo! - Add support for collapsed sidebar groups

  • #254 faa70de Thanks @HiDeoo! - Expose <Icon> component

  • #256 048e948 Thanks @HiDeoo! - Add new global lastUpdated option defaulting to false to define whether or not the last updated date is shown in the footer. A page can override this setting or the generated date using the new lastUpdated frontmatter field.

    ⚠️ Breaking change. Starlight will no longer show this date by default. To keep the previous behavior, you must explicitly set lastUpdated to true in your configuration.

    starlight({
    + lastUpdated: true,
    }),
    

Patch Changes

0.3.1

Patch Changes

0.3.0

Minor Changes

  • #237 4279d75 Thanks @HiDeoo! - Use path instead of slugified path for auto-generated sidebar item configuration

    ⚠️ Potentially breaking change. If your docs directory names dont match their URLs, for example they contain whitespace like docs/my docs/, and you were referencing these in an autogenerate sidebar group as my-docs, update your config to reference these with the directory name instead of the slugified version:

    autogenerate: {
    - directory: 'my-docs',
    + directory: 'my docs',
    }
    
  • #226 1aa2187 Thanks @delucis! - Add support for custom 404 pages.

Patch Changes

0.2.0

Minor Changes

  • #171 198c3f0 Thanks @delucis! - Add Starlight generator tag to HTML output

  • #217 490fd98 Thanks @delucis! - Updated sidebar styles. Sidebars now support top-level links and groups are styled with a subtle border and indentation to improve comprehension of nesting.

  • #178 d046c55 Thanks @delucis! - Add support for translating the Pagefind search modal

  • #210 cb5b121 Thanks @delucis! - Change page title ID to _top for cleaner hash URLs

    ⚠️ Potentially breaking change if you were linking manually to #starlight__overview anywhere. If you were, update these links to use #_top instead.

Patch Changes

0.1.4

Patch Changes

0.1.3

Patch Changes

0.1.2

Patch Changes

0.1.1

Patch Changes

0.1.0

Minor Changes

0.0.19

Patch Changes

  • fab453c Thanks @delucis! - Design tweak: larger sidebar text with more spacing

  • #134 5f4acdf Thanks @Yan-Thomas! - Add Portuguese language support

  • 8805fbf Thanks @delucis! - Add box-shadow to prev/next page links as per designs

  • 81ef58e Thanks @delucis! - Design tweak: slightly less horizontal padding in header component on narrower viewports

  • 8c103b3 Thanks @delucis! - Design tweak: pad bottom of page content slightly

  • #129 bbcb277 Thanks @delucis! - Fix bug setting writing direction from a single root locale

0.0.18

Patch Changes

0.0.17

Patch Changes

0.0.16

Patch Changes

0.0.15

Patch Changes

0.0.14

Patch Changes

0.0.13

Patch Changes

0.0.12

Patch Changes

0.0.11

Patch Changes

0.0.10

Patch Changes

  • #78 d3ee6fc Thanks @delucis! - Add support for customising and translating Starlights UI.

    Users can provide translations in JSON files in src/content/i18n/ which is a data collection. For example, a src/content/i18n/de.json might translate the search UI:

    {
    	"search.label": "Suchen",
    	"search.shortcutLabel": "(Drücke / zum Suchen)"
    }
    

    This change also allows Starlight to provide built-in support for more languages than just English and adds German & Spanish support.

  • #76 5e82073 Thanks @lloydjatkinson! - Scale down code block font size to match Figma design

  • #78 d3ee6fc Thanks @delucis! - Require a minimum Astro version of 2.5.0

0.0.9

Patch Changes

0.0.8

Patch Changes

0.0.7

Patch Changes

  • #55 8597b9c Thanks @delucis! - Fix routing logic to handle index.md slug differences between docs collection root and nested directories.

  • #54 db728d6 Thanks @TheOtterlord! - Add padding to scroll preventing headings being obscured by nav

  • #51 3adbdbb Thanks @delucis! - Support displaying a custom logo in the nav bar.

  • #51 3adbdbb Thanks @delucis! - All Starlight projects now use Astros experimental optimized asset support.

0.0.6

Patch Changes

0.0.5

Patch Changes

  • #42 c6c1b67 Thanks @delucis! - Support setting custom <head> tags in config or frontmatter.

0.0.4

Patch Changes

0.0.3

Patch Changes

  • 1f62c75 Thanks @delucis! - Add repo, issues & homepage links to package.json

  • #36 62265e4 Thanks @delucis! - Collapse table of contents in dropdown on narrower viewports

0.0.2

Patch Changes

  • #35 ea999c4 Thanks @delucis! - Add support for social media links in the site header.

  • #33 833393a Thanks @MoustaphaDev! - Import zod from astro/zod to fix an issue related to importing the astro:content virtual module

0.0.1

Patch Changes