#67 drop duplicate README title (#121)

mergedpassopened
details
branches
master ← fix/readme-drop-title
issues
265fd43c-65d0-4e31-a3d5-4964cfb04b63
updated
id
d8e44ab6-3a98-41ad-9ef6-ee50f67e73d0

Patch

.forge/issues/265fd43c-65d0-4e31-a3d5-4964cfb04b63/issue.md+20 −0
diff --git a/.forge/issues/265fd43c-65d0-4e31-a3d5-4964cfb04b63/issue.md b/.forge/issues/265fd43c-65d0-4e31-a3d5-4964cfb04b63/issue.mdnew file mode 100644index 0000000..2fc6c0e--- /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
diff --git a/.forge/wiki/README b/.forge/wiki/READMEindex 57a72f6..b36c3ed 100644--- 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
diff --git a/tests/brand.rs b/tests/brand.rsindex c4c12a9..4b4ebe3 100644--- 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-- 2.56.0

Comments (0)

No comments yet.

Reviews (0)

No reviews yet.

all pulls