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

Open
#377 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
76/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript, node.js, typescript

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
C++
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ibra-kdbra/Math-Problems

All issues in ibra-kdbra/Math-Problems

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.