[Docs] Build a custom layout shell: header, sidebar, TOC, mobile nav, prev/next, footer
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, playwright
- Domain
- accessibility, documentation, frontend
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- C++
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ibra-kdbra/Math-Problems
-
area: security-algorithms priority: P1 size: XS type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
ibra-kdbra/Math-Problems#417 ·
-
area: math-chaos priority: P3 size: S type: enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ibra-kdbra/Math-Problems#397 ·
-
area: docs-site good first issue priority: P3 size: XS type: chore
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ibra-kdbra/Math-Problems#379 ·
-
area: docs-site good first issue priority: P3 size: XS type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ibra-kdbra/Math-Problems#378 ·
-
area: docs-site good first issue priority: P2 size: XS type: chore
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ibra-kdbra/Math-Problems#367 ·
All issues in ibra-kdbra/Math-Problems
Similar issues
-
c++ easy first-contributor first-contributors good first issue help wanted up-for-grabs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
fork-commit-merge/fork-commit-merge#8709 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 71/100
ClickHouse/clickhouse-odbc#680 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ionut-mihalache/aqua#31 · 1 comment ·