#66 drop duplicate README title (#121)
Patch
.forge/issues/265fd43c-65d0-4e31-a3d5-4964cfb04b63/issue.md+20 −0--- /dev/null+++ b/.forge/issues/265fd43c-65d0-4e31-a3d5-4964cfb04b63/issue.md@@ -0,0 +1,20 @@1+---2+id: 265fd43c-65d0-4e31-a3d5-4964cfb04b633+title: 'README: drop duplicate repo-name heading'4+state: open5+labels:6+- kind:docs7+assignees: []8+milestone: null9+created: 2026-10-28T11:23:56.184457006Z10+updated: null11+---12+## Problem13+14+The code tab already shows the repo name as its top heading, then a `README` section heading, then the README body starts with another `# hu13` heading. That third heading just repeats the page title.15+16+## Fix17+18+- Drop the leading `# hu13` heading from `.forge/wiki/README`; the README now opens with its intro.19+- Keep the `README` section heading and the rest of the document.20+- Extend the README regression test to assert there is no leading H1.
.forge/wiki/README+0 −2--- a/.forge/wiki/README+++ b/.forge/wiki/README@@ -1,5 +1,3 @@1-# hu132-31 *hu13 (pronounced "hub") — one repo, one hub. A tiny read-only window42 into a single repo, plus two text-only mailboxes for suggestions.*53
tests/brand.rs+8 −1--- a/tests/brand.rs+++ b/tests/brand.rs@@ -158,5 +158,13 @@ fn repository_readme_has_no_ascii_logo_or_clone_duplicate() {158158 !readme.contains("## Clone it"),159159 "clone/download lives in the code header, not a duplicate section"160160 );161+ assert!(162+ !readme.starts_with("# "),163+ "README does not repeat the repo title; the page header already carries it"164+ );165+ assert!(166+ readme.starts_with("*hu13 (pronounced"),167+ "README opens with its intro"168+ );161169 assert!(readme.contains("## Built with"), "README keeps its ending");162170 }163--
Comments (0)
No comments yet.
Reviews (0)
No reviews yet.