[Docs] Build a custom layout shell: header, sidebar, TOC, mobile nav, prev/next, footer
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
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, playwright
- Ambito
- accessibility, documentation, frontend
Direzione di ricerca
Read docs/src/components/Header.astro and docs/astro.config.mjs:24-59, then inspect the content collection and existing route setup to understand how pages are rendered. The proposed work spans a new layout, navigation, responsive behavior, accessibility, metadata, and testing. Done means all existing URLs render in the new shell, the keyboard and 375px Playwright checks pass, and Lighthouse accessibility scores at least 95 on three sample pages.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Today's layout is Starlight's PageFrame with a replaced Header that breaks mobile navigation. A purpose-built shell is the core of the Starlight replacement and must reach parity on navigation, accessibility and responsiveness.
Location
docs/src/components/Header.astrodocs/astro.config.mjs:24-59
Evidence
Mobile (375px): Starlight menu button covered by the custom theme toggle; search hidden (Header.astro:87). Sidebar is a hand-written 4-stage list in astro.config.mjs. Skip link targets the hidden #_top heading.
Expected
src/layouts/DocsLayout.astro (+ BaseLayout.astro) owning the HTML shell, used by all pages via a catch-all route over the content collection.
Proposed fix
- Header: logo/name, search trigger, theme switch (light/dark/system), GitHub link; mobile: nav drawer (
<dialog>), search icon. - Sidebar generated from the content collection grouped by
stage/category(no hand-written list), with current-page state and collapse persistence. - Right TOC from
headingswith scroll-spy; collapses into a disclosure on mobile. - Breadcrumbs, prev/next from collection order, 'Edit this page' + 'View source' (from manifest), last-updated from git.
- Footer with license, repo link, build SHA.
- Skip link, landmarks, focus-visible styles, no layout shift; works with JS disabled (except search).
Acceptance criteria
- All existing routes render in the new shell with identical URLs
- Keyboard-only and 375px Playwright tests pass (nav drawer, TOC, search)
- Lighthouse a11y >= 95 on 3 sample pages
Repository audit, November 2026 · Phase 7 · Docs platform · evidence: reproduced · ref platform-023
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