.forge/prs/d8e44ab6-3a98-41ad-9ef6-ee50f67e73d0/patch.diff 2.4 KiB 69 lines Raw
1 From 1595a72feee2bcaff6846827b72cf0f51de5b513 Mon Sep 17 00:00:00 20012 From: gl0w <gl0w@world>3 Date: Wed, 28 Oct 2026 11:24:05 +00004 Subject: [PATCH] drop duplicate README title (#121)5 6 ---7  .../issue.md                                  | 20 +++++++++++++++++++8  .forge/wiki/README                            |  2 --9  tests/brand.rs                                |  8 ++++++++10  3 files changed, 28 insertions(+), 2 deletions(-)11  create mode 100644 .forge/issues/265fd43c-65d0-4e31-a3d5-4964cfb04b63/issue.md12 13 diff --git a/.forge/issues/265fd43c-65d0-4e31-a3d5-4964cfb04b63/issue.md b/.forge/issues/265fd43c-65d0-4e31-a3d5-4964cfb04b63/issue.md14 new file mode 10064415 index 0000000..2fc6c0e16 --- /dev/null17 +++ b/.forge/issues/265fd43c-65d0-4e31-a3d5-4964cfb04b63/issue.md18 @@ -0,0 +1,20 @@19 +---20 +id: 265fd43c-65d0-4e31-a3d5-4964cfb04b6321 +title: 'README: drop duplicate repo-name heading'22 +state: open23 +labels:24 +- kind:docs25 +assignees: []26 +milestone: null27 +created: 2026-10-28T11:23:56.184457006Z28 +updated: null29 +---30 +## Problem31 +32 +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.33 +34 +## Fix35 +36 +- Drop the leading `# hu13` heading from `.forge/wiki/README`; the README now opens with its intro.37 +- Keep the `README` section heading and the rest of the document.38 +- Extend the README regression test to assert there is no leading H1.39 diff --git a/.forge/wiki/README b/.forge/wiki/README40 index 57a72f6..b36c3ed 10064441 --- a/.forge/wiki/README42 +++ b/.forge/wiki/README43 @@ -1,5 +1,3 @@44 -# hu1345 -46  *hu13 (pronounced "hub") — one repo, one hub. A tiny read-only window47  into a single repo, plus two text-only mailboxes for suggestions.*48  49 diff --git a/tests/brand.rs b/tests/brand.rs50 index c4c12a9..4b4ebe3 10064451 --- a/tests/brand.rs52 +++ b/tests/brand.rs53 @@ -158,5 +158,13 @@ fn repository_readme_has_no_ascii_logo_or_clone_duplicate() {54          !readme.contains("## Clone it"),55          "clone/download lives in the code header, not a duplicate section"56      );57 +    assert!(58 +        !readme.starts_with("# "),59 +        "README does not repeat the repo title; the page header already carries it"60 +    );61 +    assert!(62 +        readme.starts_with("*hu13 (pronounced"),63 +        "README opens with its intro"64 +    );65      assert!(readme.contains("## Built with"), "README keeps its ending");66  }67 -- 68 2.56.069