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

Aperta
#370 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
28/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
documentation

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C++
Stelle
2
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ibra-kdbra/Math-Problems

Tutte le issue di ibra-kdbra/Math-Problems

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.