[Docs] Remove dead template components, assets and the example reference page

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
76/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
javascript, node.js, typescript

Direzione di ricerca

Start by checking the listed files and their references, then inspect docs/astro.config.mjs and the docs scripts in package.json to confirm how pages and assets are built. Run the docs build and check that /reference/example/ is absent; update docs/README.md with the stated prerequisites, commands, content and image conventions, and deployment steps. Done when unused items are removed or used and the README explains how to develop and deploy the site.

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

Descrizione

area: docs-site good first issue priority: P3 size: S type: chore

Summary

Several files from the original template are unused or placeholder content, which confuses contributors and ships extra bytes (reference/example.md is built, indexed by Pagefind and listed in the sitemap but not in the sidebar).

Location

  • docs/src/components/Footer.astro
  • docs/src/components/button.tsx
  • docs/public/theme-toggle.js
  • docs/src/lib/utils.ts:26-48
  • docs/src/assets/astro.png
  • docs/src/assets/houston.webp
  • docs/src/assets/dark-logo.svg
  • docs/astro.config.mjs:18-21
  • docs/src/content/docs/reference/example.md
  • docs/public/imgs/bat_searching/
  • docs/README.md

Evidence

  • Footer.astro (links left/right to /) and button.tsx: imported nowhere.
  • public/theme-toggle.js: 62 lines, every line commented out.
  • getCurrentPageInfo, rootInDarkMode in utils.ts: no callers.
  • astro.png (748 KB, 4048x2025) and houston.webp (98 KB): no references. dark-logo.svg/light-logo.svg are emitted to _astro/ but never rendered because Header.astro overrides Starlight's logo.
  • /reference/example/ is in sitemap-0.xml ("A reference page in my new Starlight docs site").
  • 6 images in public/imgs/bat_searching/ are referenced by no page.
  • docs/README.md describes a generic "Astro Docs" template with Radix UI.

Expected

Only code and assets that the site uses remain; docs/README.md documents this site.

Proposed fix

Delete the files listed above (or wire the bat-searching plots into its page), remove the logo config, and rewrite docs/README.md with: prerequisites (Node >= 22.12), npm ci, npm run dev/build/preview, content conventions, where images live, deployment.

Acceptance criteria

  • Listed files removed or used
  • /reference/example/ no longer built
  • docs/README.md explains how to develop and deploy this site

Repository audit, November 2026 · Phase 7 · Docs platform · evidence: reproduced · ref platform-007


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.