[Docs] Create an MDX component library: Theorem, Proof, Definition, Example, Algorithm
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- markdown
- Ambito
- documentation
Direzione di ricerca
Start with docs/src/components/components.ts and docs/src/components/TextBlock.astro, then inspect the existing docs setup and Starlight components to understand how MDX components are registered and styled. The scope includes semantic math environments, numbering and references, several additional components, a showcase page, and visual snapshots. Done means the components render without client JavaScript, the showcase documents their props and examples, and one existing page is migrated.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Mathematical content is written as free prose inside a generic TextBlock wrapper, with no consistent way to state definitions, theorems, proofs or pseudocode, and no numbering or cross-references. A math-focused site needs these primitives before content is rewritten.
Location
docs/src/components/components.tsdocs/src/components/TextBlock.astro
Evidence
TextBlock used on 35 pages purely as a styling wrapper; no component exists for theorem-like environments (grep Theorem|Lemma|Proof|Definition in docs/src/components -> 0).
Expected
A documented set of semantic, accessible MDX components with auto-numbering and anchor links.
Proposed fix
<Definition term id>,<Theorem name id>,<Lemma>,<Corollary>,<Proof>(collapsible, ends with a tombstone),<Example>,<Remark>,<Algorithm>(numbered pseudocode lines, input/output, complexity).- Per-page counters (Theorem 1, Definition 2) and
<Ref to="thm-lorenz-bounded" />producing 'Theorem 1' links; IDs collected for the knowledge graph. <Figure src caption credit>,<Callout type>,<Steps>,<Tabs>/<CodeTabs lang>and<ControlsTable>reimplemented on tokens (replacing Starlight's).- A
/design/componentsshowcase page; each component has a Playwright visual snapshot in both themes.
Acceptance criteria
- All components render without client JS
- Showcase page documents props and examples
- At least one existing page (e.g. Lorenz) migrated as reference
Repository audit, November 2026 · Phase 7 · Docs platform · evidence: reproduced · ref platform-025
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
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ibra-kdbra/Math-Problems
-
area: security-algorithms priority: P1 size: XS type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
ibra-kdbra/Math-Problems#417 ·
-
area: math-chaos priority: P3 size: S type: enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ibra-kdbra/Math-Problems#397 ·
-
area: docs-site good first issue priority: P3 size: XS type: chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ibra-kdbra/Math-Problems#379 ·
-
area: docs-site good first issue priority: P3 size: XS type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
ibra-kdbra/Math-Problems#378 ·
-
area: docs-site good first issue priority: P2 size: XS type: chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ibra-kdbra/Math-Problems#367 ·
Tutte le issue di ibra-kdbra/Math-Problems
Issue simili
-
TransformInteract: a circle drag through the centre sets Scale to its minimum, which can't grow backApertadifficulty:easy prio:low type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
NatronGitHub/openfx-supportext#311 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
CachyOS/packageinstaller#211 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
OpenEmu-Silicon/OpenEmu-Silicon#920 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100