Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: withastro/starlight
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @astrojs/starlight@0.32.3
Choose a base ref
...
head repository: withastro/starlight
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @astrojs/starlight@0.32.4
Choose a head ref
  • 20 commits
  • 34 files changed
  • 16 contributors

Commits on Mar 19, 2025

  1. Plugin to add llms.txt (#2971)

    Saif-Shines authored Mar 19, 2025
    Copy the full SHA
    8f4d635 View commit details
  2. chore: add renovate to the repository (#2970)

    * chore: add renovate to the repository
    
    * chore: reduce extension
    ematipico authored Mar 19, 2025
    Copy the full SHA
    1469877 View commit details
  3. [ci] format

    delucis authored and astrobot-houston committed Mar 19, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    834451f View commit details
  4. chore(deps): update github-actions (#2977)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 19, 2025
    Copy the full SHA
    5e4ea73 View commit details
  5. chore: disable automated PRs for npm (#2978)

    ematipico authored Mar 19, 2025
    Copy the full SHA
    f4530fd View commit details
  6. [ci] format

    delucis authored and astrobot-houston committed Mar 19, 2025
    Copy the full SHA
    0df333c View commit details
  7. chore(deps): update github-actions (#2979)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 19, 2025
    Copy the full SHA
    2232e3c View commit details
  8. Update labeler config (#2983)

    * Update labeler config
    
    * Try again. Fail again. Fail better.
    delucis authored Mar 19, 2025
    Copy the full SHA
    6276bf7 View commit details
  9. chore: disable renovate docker updates (#2982)

    Co-authored-by: delucis <357379+delucis@users.noreply.github.com>
    Co-authored-by: trueberryless <99918022+trueberryless@users.noreply.github.com>
    3 people authored Mar 19, 2025
    Copy the full SHA
    e922d1f View commit details
  10. chore: disable renovate package manager updates (#2985)

    HiDeoo authored Mar 19, 2025
    Copy the full SHA
    a94cccc View commit details

Commits on Mar 20, 2025

  1. i18n(ko-KR): update plugins.mdx (#2987)

    jsparkdev authored Mar 20, 2025
    Copy the full SHA
    fa95c78 View commit details
  2. i18n(fr): update resources/plugins (#2990)

    Co-authored-by: ArmandPhilippot <59021693+ArmandPhilippot@users.noreply.github.com>
    Co-authored-by: trueberryless <99918022+trueberryless@users.noreply.github.com>
    3 people authored Mar 20, 2025
    Copy the full SHA
    93d652e View commit details
  3. feat(tailwind): support @astrojs/tailwind v6 (#2991)

    Co-authored-by: trueberryless <99918022+trueberryless@users.noreply.github.com>
    Co-authored-by: delucis <357379+delucis@users.noreply.github.com>
    3 people authored Mar 20, 2025
    Copy the full SHA
    b8a4800 View commit details
  4. chore: disable renovate dashboard (#2995)

    Co-authored-by: delucis <357379+delucis@users.noreply.github.com>
    HiDeoo and delucis authored Mar 20, 2025
    Copy the full SHA
    1cea467 View commit details

Commits on Mar 21, 2025

  1. add own plugin and enhance some other descriptions (#2996)

    trueberryless authored Mar 21, 2025
    Copy the full SHA
    c341601 View commit details
  2. update astro to the latest version (#2948)

    Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
    Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
    3 people authored Mar 21, 2025
    Copy the full SHA
    19282e8 View commit details
  3. fix: Search ranking on merge indexes (#2994)

    Co-authored-by: Emilien GUILMINEAU (Ext.) <emilien.guilmineau.prestataire@sfr.com>
    Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
    3 people authored Mar 21, 2025
    Copy the full SHA
    ca4ec8b View commit details
  4. [ci] format

    delucis authored and astrobot-houston committed Mar 21, 2025
    Copy the full SHA
    fa96c6d View commit details
  5. Add npm social icon (#2969)

    webpro authored Mar 21, 2025
    Copy the full SHA
    4682c7a View commit details
  6. [ci] release (#2992)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    astrobot-houston and github-actions[bot] authored Mar 21, 2025
    Copy the full SHA
    421f8a7 View commit details
Showing with 659 additions and 503 deletions.
  1. +35 −21 .github/labeler.yml
  2. +31 −0 .github/renovate.json5
  3. +20 −20 .github/workflows/ci.yml
  4. +4 −4 .github/workflows/file-icons.yml
  5. +4 −4 .github/workflows/format.yml
  6. +4 −4 .github/workflows/lunaria.yml
  7. +1 −1 .github/workflows/pr-labeler.yml
  8. +4 −4 .github/workflows/release.yml
  9. +5 −5 .github/workflows/size-limit.yml
  10. +1 −1 .github/workflows/welcome-bot.yml
  11. +1 −1 docs/package.json
  12. +5 −0 docs/src/content/docs/fr/resources/plugins.mdx
  13. +6 −0 docs/src/content/docs/ko/resources/plugins.mdx
  14. +11 −1 docs/src/content/docs/resources/plugins.mdx
  15. +2 −2 examples/basics/package.json
  16. +2 −2 examples/markdoc/package.json
  17. +3 −3 examples/tailwind/package.json
  18. +1 −1 package.json
  19. +8 −0 packages/starlight/CHANGELOG.md
  20. +1 −1 packages/starlight/__e2e__/fixtures/basics/package.json
  21. +1 −1 packages/starlight/__e2e__/fixtures/custom src-dir/package.json
  22. +1 −1 packages/starlight/__e2e__/fixtures/git/package.json
  23. +1 −1 packages/starlight/__e2e__/fixtures/legacy-collection-config-file/package.json
  24. +1 −1 packages/starlight/__e2e__/fixtures/ssr/package.json
  25. +1 −1 packages/starlight/__tests__/basics/config-errors.test.ts
  26. +13 −4 packages/starlight/__tests__/basics/i18n.test.ts
  27. +1 −0 packages/starlight/components/Icons.ts
  28. +2 −2 packages/starlight/package.json
  29. +2 −1 packages/starlight/schemas/pagefind.ts
  30. +2 −0 packages/starlight/schemas/social.ts
  31. +0 −2 packages/starlight/utils/i18n.ts
  32. +6 −0 packages/tailwind/CHANGELOG.md
  33. +2 −2 packages/tailwind/package.json
  34. +477 −412 pnpm-lock.yaml
56 changes: 35 additions & 21 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,50 @@
# See https://github.com/actions/labeler

'🚨 action':
- .github/workflows/**
- changed-files:
- any-glob-to-any-file:
- .github/workflows/**

i18n:
- docs/src/content/docs/de/**/*
- docs/src/content/docs/es/**/*
- docs/src/content/docs/fr/**/*
- docs/src/content/docs/it/**/*
- docs/src/content/docs/ja/**/*
- docs/src/content/docs/zh-cn/**/*
- docs/src/content/docs/pt-br/**/*
- docs/src/content/docs/pt-pt/**/*
- docs/src/content/docs/ko/**/*
- docs/src/content/docs/ru/**/*
- docs/src/content/docs/id/**/*
- docs/src/content/docs/tr/**/*
- docs/src/content/docs/hi/**/*
- docs/src/content/docs/da/**/*
- docs/src/content/docs/uk/**/*
- changed-files:
- any-glob-to-any-file:
- docs/src/content/docs/de/**/*
- docs/src/content/docs/es/**/*
- docs/src/content/docs/fr/**/*
- docs/src/content/docs/it/**/*
- docs/src/content/docs/ja/**/*
- docs/src/content/docs/zh-cn/**/*
- docs/src/content/docs/pt-br/**/*
- docs/src/content/docs/pt-pt/**/*
- docs/src/content/docs/ko/**/*
- docs/src/content/docs/ru/**/*
- docs/src/content/docs/id/**/*
- docs/src/content/docs/tr/**/*
- docs/src/content/docs/hi/**/*
- docs/src/content/docs/da/**/*
- docs/src/content/docs/uk/**/*

'🌟 core':
- packages/starlight/**
- changed-files:
- any-glob-to-any-file:
- packages/starlight/**

'🌟 tailwind':
- packages/tailwind/**
- changed-files:
- any-glob-to-any-file:
- packages/tailwind/**

'🌟 docsearch':
- packages/docsearch/**
- changed-files:
- any-glob-to-any-file:
- packages/docsearch/**

'🌟 markdoc':
- packages/markdoc/**
- changed-files:
- any-glob-to-any-file:
- packages/markdoc/**

'📚 docs':
- docs/**
- changed-files:
- any-glob-to-any-file:
- docs/**
31 changes: 31 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
':disableDependencyDashboard',
':semanticPrefixFixDepsChoreOthers',
':ignoreModulesAndTests',
'workarounds:all',
'helpers:pinGitHubActionDigestsToSemver',
'docker:disable',
],
rangeStrategy: 'bump',
ignorePaths: ['**/node_modules/**'],
packageRules: [
{
groupName: 'github-actions',
matchManagers: ['github-actions'],
},
{
matchManagers: ['npm'],
groupName: 'dependencies',
matchDepTypes: ['devDependencies', 'dependencies', 'peerDependencies'],
enabled: false,
},
{
description: 'Disable package manager version updates',
matchPackageNames: ['pnpm'],
matchDepTypes: ['packageManager'],
enabled: false,
},
],
}
40 changes: 20 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -25,8 +25,8 @@ jobs:
docs: ${{ steps.filter.outputs.docs }}
packages: ${{ steps.filter.outputs.packages }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: filter
with:
filters: |
@@ -41,9 +41,9 @@ jobs:
if: ${{ needs.changes.outputs.packages == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'
@@ -64,9 +64,9 @@ jobs:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'
@@ -78,9 +78,9 @@ jobs:
name: Run type checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'
@@ -96,13 +96,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup PNPM
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'
@@ -118,9 +118,9 @@ jobs:
name: Docs site builds on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'
@@ -136,13 +136,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup PNPM
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'
8 changes: 4 additions & 4 deletions .github/workflows/file-icons.yml
Original file line number Diff line number Diff line change
@@ -16,13 +16,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup PNPM
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: 18
cache: 'pnpm'
@@ -35,7 +35,7 @@ jobs:
working-directory: packages/file-icons-generator

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with:
branch: ci/file-icons
token: ${{ secrets.FREDKBOT_GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -10,21 +10,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code using Git
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.head_ref }}
# Needs access to push to main
token: ${{ secrets.FREDKBOT_GITHUB_TOKEN }}
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: 18
cache: 'pnpm'
- run: pnpm i
- name: Format with Prettier
run: pnpm format
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5.1.0
with:
commit_message: '[ci] format'
branch: ${{ github.head_ref }}
8 changes: 4 additions & 4 deletions .github/workflows/lunaria.yml
Original file line number Diff line number Diff line change
@@ -20,17 +20,17 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Necessary for Lunaria to work properly
# Makes the action clone the entire git history
fetch-depth: 0

- name: Setup PNPM
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: 20
cache: pnpm
@@ -40,7 +40,7 @@ jobs:
shell: bash

- name: Generate Lunaria Overview
uses: yanthomasdev/lunaria-action@v0.1.0
uses: yanthomasdev/lunaria-action@06ad5ab2704d030708baf3b279ca0446b418e853 # v0.1.0
with:
token: ${{ secrets.FREDKBOT_GITHUB_TOKEN }}
working-directory: docs
2 changes: 1 addition & 1 deletion .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -9,6 +9,6 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -15,16 +15,16 @@ jobs:
id-token: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup PNPM
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: 18
cache: 'pnpm'
@@ -33,7 +33,7 @@ jobs:
run: pnpm i

- name: Create Release Pull Request
uses: changesets/action@v1
uses: changesets/action@06245a4e0a36c064a573d4150030f5ec548e4fcc # v1.4.10
with:
version: pnpm run version
publish: pnpm changeset publish
10 changes: 5 additions & 5 deletions .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
@@ -17,8 +17,8 @@ jobs:
name: Check build output is within performance budget (forks)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- run: pnpm i
- run: 'pnpm build:examples'
- run: pnpm size
@@ -30,10 +30,10 @@ jobs:
name: Check build output is within performance budget
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- name: Run size-limit
uses: andresz1/size-limit-action@v1.8.0
uses: andresz1/size-limit-action@94bc357df29c36c8f8d50ea497c3e225c3c95d1d # v1.8.0
with:
github_token: ${{ secrets.FREDKBOT_GITHUB_TOKEN }}
build_script: 'build:examples'
2 changes: 1 addition & 1 deletion .github/workflows/welcome-bot.yml
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ jobs:
name: Welcome First-Time Contributors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: zephyrproject-rtos/action-first-interaction@7e6446f8439d8b4399169880c36a3a12b5747699
with:
repo-token: ${{ secrets.FREDKBOT_GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@
"@astrojs/starlight": "workspace:*",
"@lunariajs/core": "^0.1.1",
"@types/culori": "^2.1.1",
"astro": "^5.1.5",
"astro": "^5.5.3",
"culori": "^4.0.1",
"sharp": "^0.32.5"
},
5 changes: 5 additions & 0 deletions docs/src/content/docs/fr/resources/plugins.mdx
Original file line number Diff line number Diff line change
@@ -138,6 +138,11 @@ Les [modules d'extension](/fr/reference/plugins/) peuvent personnaliser la confi
title="starlight-auto-sidebar"
description="Modifier vos groupes de barre latérale générés automatiquement."
/>
<LinkCard
href="https://github.com/delucis/starlight-llms-txt"
title="starlight-llms-txt"
description="Ajouter des fichiers llms.txt à votre site de documentation basé sur llmstxt.org"
/>
</CardGrid>

## Outils et intégrations communautaires
6 changes: 6 additions & 0 deletions docs/src/content/docs/ko/resources/plugins.mdx
Original file line number Diff line number Diff line change
@@ -138,6 +138,12 @@ Starlight 팀이 지원하는 공식 플러그인과 Starlight 사용자가 관
title="starlight-auto-sidebar"
description="자동 생성된 사이드바 그룹을 자유롭게 수정하세요."
/>
<LinkCard
href="https://github.com/delucis/starlight-llms-txt"
title="starlight-llms-txt"
description="llmstxt.org를 기반으로 llms.txt를 문서 사이트에 추가하세요."
/>

</CardGrid>

## 커뮤니티 도구 및 통합
Loading