[Docs] Build a custom layout shell: header, sidebar, TOC, mobile nav, prev/next, footer
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, playwright
- Área
- accessibility, documentation, frontend
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- C++
- Estrellas
- 2
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ibra-kdbra/Math-Problems
-
area: security-algorithms priority: P1 size: XS type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
ibra-kdbra/Math-Problems#417 ·
-
area: math-chaos priority: P3 size: S type: enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ibra-kdbra/Math-Problems#397 ·
-
area: docs-site good first issue priority: P3 size: XS type: chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ibra-kdbra/Math-Problems#379 ·
-
area: docs-site good first issue priority: P3 size: XS type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
ibra-kdbra/Math-Problems#378 ·
-
area: docs-site good first issue priority: P2 size: XS type: chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ibra-kdbra/Math-Problems#367 ·
Todos los issues de ibra-kdbra/Math-Problems
Issues similares
-
TransformInteract: a circle drag through the centre sets Scale to its minimum, which can't grow backAbiertodifficulty:easy prio:low type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
NatronGitHub/openfx-supportext#311 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
CachyOS/packageinstaller#211 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
OpenEmu-Silicon/OpenEmu-Silicon#920 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100