Skip to content

feat: scaffold Astro Starlight on next (#186) - #202

Merged
mallowigi merged 1 commit into
nextfrom
feat/186-scaffold
Nov 18, 2026
Merged

mallowigi merged 1 commit into
nextfrom
feat/186-scaffold

Conversation

@mallowigi

Copy link
Copy Markdown
Collaborator

Closes #186 (part of #185).

What changed

  • Astro + Starlight at the repo root (site: https://material-theme.com, trailingSlash: 'always', build.format: 'directory'), Node 26 and pnpm pinned.
  • Removed the Jekyll/Grunt/Sass/Babel toolchain. img/ and robots.txt moved into public/ so /img/** URLs are unchanged.
  • netlify.toml, a PR CI workflow (astro check, build, Playwright), and an e2e harness running against netlify serve.
  • Left for later tickets: docs/, _data/, _features/, index.html, CNAME, the old main.yml deploy workflow, the Algolia line in robots.txt.

How it works & what to look at

  • Starlight config (docs): astro.config.mjs is the single entry point; the sidebar is empty for now.
  • Content collections (docs): src/content.config.ts wires Starlight's docsLoader/docsSchema; pages will live in src/content/docs/.
  • netlify serve builds the site and serves it with Netlify's redirect rules, so e2e tests see what production sees. playwright.config.ts starts it automatically; set BASE_URL to test a deploy preview instead.
  • Read first: astro.config.mjs, playwright.config.ts, .github/workflows/ci.yml.

Notes

  • TypeScript is pinned to 6 because astro check doesn't support 7 yet.
  • Netlify site connection (for deploy previews) must be done in the Netlify UI.
  • next was created from master; this PR is its first change.

Test plan

  • pnpm build, pnpm check, pnpm test:e2e pass locally (unknown URL → 404 page).

Replace the Jekyll/Grunt/Sass toolchain with Astro + Starlight (Node 26,
pnpm), add Netlify build config, a PR CI workflow and a Playwright suite
that runs against `netlify serve`.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mallowigi
mallowigi merged commit 210ae68 into next Nov 18, 2026
1 check passed
@mallowigi
mallowigi deleted the feat/186-scaffold branch November 18, 2026 17:25
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.

1 participant