Skip to content

Update Starlight social config to new array schema to unblock docs build - #1

Draft
Saaalil with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-github-actions-job-build
Draft

Update Starlight social config to new array schema to unblock docs build#1
Saaalil with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-github-actions-job-build

Conversation

Copilot AI commented Jul 7, 2026

Copy link
Copy Markdown

The build GitHub Actions job fails during astro build because Starlight no longer accepts object-style social config. This PR updates docs site configuration to match the current Starlight schema expected by the deployed dependency range.

  • Root cause

    • docs/astro.config.mjs used legacy social object syntax ({ github: "..." }), which is rejected by current @astrojs/starlight.
  • Config migration

    • Replaced legacy social object with the new array-of-links format required by Starlight.
    • Kept the same GitHub URL and user-visible behavior; only schema shape changed.
  • Scope

    • Single-file, config-only change in docs site setup (docs/astro.config.mjs).
// before
social: {
  github: 'https://github.com/Saaalil/DocRagGraph',
},

// after
social: [
  { icon: 'github', label: 'GitHub', href: 'https://github.com/Saaalil/DocRagGraph' },
],

Copilot AI changed the title [WIP] Fix failing GitHub Actions job build Update Starlight social config to new array schema to unblock docs build Jul 7, 2026
Copilot AI requested a review from Saaalil July 7, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants