Skip to content

docs(webserver): link the provenance guide from the homepage - #98

Merged
brawer merged 2 commits into
mainfrom
webserver-homepage-doc-link
Sep 3, 2026
Merged

docs(webserver): link the provenance guide from the homepage#98
brawer merged 2 commits into
mainfrom
webserver-homepage-doc-link

Conversation

@brawer

@brawer brawer commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Follow-up agreed in review.

The homepage footer's "Provenance:" line linked the raw dated BOM (download/osmviews-<date>.cdx.json) — a JSON download that looks broken to a casual visitor, and it required a per-request Storage.Version lookup + strings.Replace templating. Point it at docs/downloads.md instead, which explains the BOM, how to check for updates, and the verification recipe — and links the live BOM.

Removed: the @@PROV@@ placeholder, the prov computation, the strings.Replace wrapper, the now-unused Storage.Version accessor, and TestWebserver_MainPageLinksBOM (the homepage is now a static string — nothing to test). localFile.Version / Content.Version stay — they build the Link header on the actual GeoTIFF download.

Net −30 lines. docs: type — cosmetic homepage change, ships silently.

🤖 Generated with Claude Code

The homepage "Provenance:" line pointed at the raw dated BOM
(download/osmviews-<date>.cdx.json) — a JSON file download that looks
broken to a casual visitor, and it needed a per-request date lookup.
Point it at docs/downloads.md instead, which explains the BOM, updates,
and verification and links the live BOM.

Drops the @@prov@@ placeholder, the prov computation, the strings.Replace
wrapper, the now-unused Storage.Version accessor, and the test that
covered them (the homepage is now static HTML). localFile.Version /
Content.Version stay — they build the Link header on the download itself.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0124hdGM7xKmGF3HPDy7PL6j
@brawer
brawer force-pushed the webserver-homepage-doc-link branch from 14205db to 8981cb8 Compare September 3, 2026 11:24
@brawer
brawer enabled auto-merge (rebase) September 3, 2026 11:35
@brawer
brawer merged commit e8a19d0 into main Sep 3, 2026
8 checks passed
@brawer
brawer deleted the webserver-homepage-doc-link branch September 3, 2026 11:47
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