[Docs] Epic: replace Starlight with an in-house design system (plan and parity checklist)

Open
#370 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
28/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Domain
documentation

Research direction

Start with docs/astro.config.mjs, docs/src/styles/custom.css, and the components in docs/src/components/ to map the current Starlight setup and its existing parity features. Review the proposed migration sequence and identify the separate work items needed to deliver it incrementally. Done means the migration is tracked through green CI, parity is retained, and the final change removes @astrojs/starlight without visible route or content changes.

Written by the indexing model from the issue text.

Description

area: docs-site priority: P2 size: L type: enhancement

Summary

The site is a Starlight template fighting its host: 942 lines of custom.css override Starlight variables and scoped hashes, Header is replaced wholesale, there are two competing Card components, and React is shipped for one dropdown. The owner wants a custom design system with its own components, diagrams, charts and a knowledge graph. This epic sequences that work so the live site never regresses.

Location

  • docs/astro.config.mjs
  • docs/src/styles/custom.css
  • docs/src/components/

Evidence

wc -l docs/src/styles/custom.css -> 942
hashed Starlight selectors in custom.css: 5 (e.g. .astro-j6tvhyss, .content-panel.astro-7nkwcw3z)
Card from '@astrojs/starlight/components': 16 pages; custom components/Card.astro: 1 page (index.mdx)
React islands: 1 (header-menu, 93 KB gz incl. runtime)

Expected

A tracked, incremental migration where each step ships behind green CI, ending with @astrojs/starlight removed from package.json.

Proposed fix

Order (each line is its own issue):

  1. Content collections + project frontmatter schema (data first, independent of UI).
  2. Design tokens & theming.
  3. Layout shell (header, sidebar, TOC, mobile nav, footer, prev/next).
  4. Search (Pagefind standalone).
  5. MDX component library (Theorem/Proof/..., Figure, Callout, Tabs, Steps, CodeTabs, Gallery) + math pipeline.
  6. Diagrams, charts, live demos, source links.
  7. SEO/OG/sitemap/i18n readiness.
  8. Knowledge graph data -> graph view -> concept pages.
  9. Remove Starlight, starlight-tailwind, Radix/React (unless needed for islands).
    Parity checklist to keep: Pagefind search, sidebar autogeneration, dark/light/system theme, Expressive Code blocks, asides, TOC, prev/next, 404 page, sitemap, skip link.

Acceptance criteria

  • Sub-issues linked in a task list on this issue
  • Playwright smoke tests (separate issue) gate every step
  • Final PR removes @astrojs/starlight with no route or content changes visible to users except design

Repository audit, November 2026 · Phase 7 · Docs platform · evidence: reproduced · ref platform-021


Generated by Claude Code

Dominant language
C++
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ibra-kdbra/Math-Problems

All issues in ibra-kdbra/Math-Problems

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.