Skip to content

Documentation checks: cover the HTML navigation and section anchors used by BeautifulRepo itself #31

Closed

Description

@drevendev

Observed assurance gap

Review date 2026-10-19, master c2cbcf07ae67263ec7dbeb7cfb5822ea65b49c38.

The actual root README uses raw HTML <a href> navigation and <img src> badges, including #start-here. Theme-aware visual examples use HTML media markup. However, tools/README.md explicitly excludes raw HTML, reference-style links and heading anchors from docs_links.py's checks. CI only invokes the existing bounded checker.

The limitation is documented honestly, so this is not a claim that the current checker violates its contract, nor a claim that those links are currently broken. It is a coverage gap for the very formats the showcase demonstrates.

Priority / scope

P2 maintainability. Cover actual reader paths before expanding a general-purpose Markdown parser. Keep external network crawling and unrelated syntax outside this bounded change.

Acceptance

  • Inventory the HTML links/media and local anchors actually used by the README and visual examples.
  • Add bounded automated checks for those local targets, or a separate repeatable verification recipe with explicit not-checked results.
  • Add regressions where a local HTML destination, image source or internal heading target is deliberately invalid; the verification must report it.
  • Preserve legitimate template placeholders, code examples, external badges and documented exclusions rather than producing blanket false positives.
  • Keep the public coverage description in README/tools/CONTRIBUTING aligned with reality.
  • Run the full repository checks and review the rendered navigation.

This complements #21's front-page rewrite; neither task should report all README navigation as verified from the inline-Markdown-only check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions