Skip to content

README: restructure into a centered hero + persuasion funnel - #42

Merged
gistrec merged 4 commits into
masterfrom
readme/text-quick-wins
Jul 7, 2026
Merged

gistrec merged 4 commits into
masterfrom
readme/text-quick-wins

Conversation

@gistrec

@gistrec gistrec commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Restructures README.md into a centered "hero" + a top-to-bottom persuasion funnel
(pitch → proof → install), so the two most convincing assets — the code samples and the
benchmark numbers — sit above the fold instead of below a ~95-line install wall.

Text-only change (README.md, +220 / −147). No new images are introduced: asset slots
are left as HTML comments for a follow-up PR, so nothing renders broken today.

What changed

  • Centered hero — tagline + subheader, a curated two-row badge strip, a Compiler Explorer
    CTA, and a one-line stat strip (67M polygons/s (~1.9× Boost, ~5× S2) · 40M distance calls/s · 1.6–1.9× faster than S2 on point_at_distance).
  • Badges — dropped the Codacy grade and the misleading vcpkg.yml/xrepo.yml CI badges
    (they read as "available on vcpkg"); Row 2 now uses real registry/version shields
    (vcpkg / xrepo / build2 / Conan-pending / Meson-pending). Fixed the dead href="#" wrappers.
  • New funnel order — Why → API at a glance (table) → Quick start (code moved above install) →
    Which library should I pick? (benchmark table + feature matrix + accuracy note, merging the
    old Benchmarks and When not to use) → Installation → Requirements & compatibility →
    API reference / Contributing / Credits / Support / License.
  • Installation collapsed — FetchContent stays inline; the other five methods move into one
    <details>, shrinking the wall to a few visible lines.
  • Added an inline table of contents, a compiler/CI matrix, a semver/compat note, a Credits section
    (android-maps-utils lineage), and an unobtrusive star CTA.

Verification

  • Valid GitHub-flavored markdown: balanced HTML tags, paired code fences, rectangular tables, all
    in-page TOC anchors resolve.
  • Every function named in the new API at a glance table was grep-confirmed to exist in
    include/geo/ (nothing invented; point_at_distance correctly attributed to spherical.hpp).
  • No information loss vs. the previous README — every fact/link survives, relocated or behind
    <details>.

Follow-ups (not in this PR)

Image/GIF assets (hero pipeline gif, benchmark chart, terminal demo, operations gallery) and a
reproducible generation pipeline are prepared on a separate branch and will land in a follow-up;
the HTML-comment placeholders here mark exactly where they slot in.

gistrec added 2 commits July 6, 2026 23:29
Reorder README as pitch -> proof -> install so the two most persuasive
assets (code samples and benchmark table) move up out from under the
~95-line 6-way install wall.

- Centered hero: bold tagline + italic subheader, curated two-row badge
  strip (identity/trust + registry "try & get" shields), Compiler Explorer
  CTA, and a stat strip. Drops the Codacy grade badge and the misleading
  vcpkg.yml/xrepo.yml CI badges; fixes the four dead href="#" wrappers by
  rendering static <img>s; swaps CI shields for registry version shields.
- New sections: "Why" benefit bullets, "API at a glance" table
  (header -> functions -> what it does), "Which library should I pick?"
  (benchmark table + feature matrix + accuracy note + <details> methodology,
  merging the old Benchmarks and "When not to use"), and
  "Requirements & compatibility" (CI compiler matrix, sanitizers, semver).
- Move the two Usage code blocks above Installation; collapse the five
  non-FetchContent install methods into a single <details>.
- Add an inline TOC, Credits (android-maps-utils lineage), and a star CTA.
- Leave HTML-comment image placeholders per the asset path contract
  (hero-pipeline.gif, demo.gif, benchmarks.svg, gallery/*) - no <img> tags
  for not-yet-existing assets, so nothing renders broken.

Text-only, no new assets. No information loss: every prior fact/link is
preserved (relocated or behind <details>); dropped badge URLs are the
brief-authorized cuts or cosmetic image swaps whose facts survive.
- Stat strip: drop the cherry-picked '~5x S2 / ~1.9x Boost' area framing;
  lead with raw throughput. '1.6-1.9x' -> '~1.6x' so the claim matches the
  visible table (0.79/0.50); the N-dependent 1.9x is explained in methodology.
- Methodology: note S2 is faster on distance_between (honest counterpoint).
- Merge Support into 'Contributing & support' (both were 'open an issue').
- Drop the redundant Compiler Explorer badge (still 2 CTAs remain).
- xrepo badge now links to the package page, not the whole repo.
gistrec added 2 commits July 7, 2026 11:09
…refs

- Hero stat strip: bare throughput -> relative comparisons (Boost/S2/haversine)
- Tagline & footer: remove Stack Overflow framing
- Drop redundant Compiler Explorer sub-line; API reference as a 3-item list
Drop the distance clause (parity, not a win; still stated in Why + the
benchmark table) so the strip stays on a single line.
@gistrec
gistrec merged commit eada0d3 into master Jul 7, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant