Skip to content

Document Homebrew install, reorganize README, and check it against the binary - #62

Merged
zmofei merged 6 commits into
mainfrom
docs/readme-homebrew
Sep 29, 2026
Merged

zmofei merged 6 commits into
mainfrom
docs/readme-homebrew

Conversation

@zmofei

@zmofei zmofei commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Documents the Homebrew install, reorganizes the README around install → log in → run commands, and fixes its command list, which named four API groups the binary doesn't have and missed static, doctor, usage and config.

To keep that list from drifting again, tests/docs_contract.rs now checks that every mapbox … in the README is a real command and every top-level command is mentioned. It covers command paths only, not flags.

Homebrew users get brew upgrade / brew uninstall instead of mapbox uninstall, which would delete the binary out from under Homebrew. The update notice still suggests the curl installer; that's a code change for a separate PR.

Docs and tests only, so no changelog entry.

@zmofei
zmofei requested a review from a team as a code owner September 29, 2026 09:06
The README listed four API groups (rasterarrays, static-images, static-tiles, tilequery) the binary no longer has, and never mentioned doctor, usage or the real static group. Nothing read the README, so nobody noticed.
@zmofei
zmofei added this pull request to stack #65 September 29, 2026 09:35
@zmofei zmofei changed the title Document Homebrew install in README Document Homebrew install, reorganize README, and check it against the binary Sep 29, 2026
@zmofei
zmofei removed this pull request from stack #65 September 29, 2026 12:08
@zmofei zmofei self-assigned this Sep 29, 2026

@mattpodwysocki mattpodwysocki left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked the command-group list against a real --schema run: the four removed groups (rasterarrays, static-images, static-tiles, tilequery) genuinely don't exist anymore, and static, doctor, usage, config were genuinely missing. The two new docs_contract tests and the source_guards anchor fix pass, full suite is green, fmt/clippy clean.

One small nit, not blocking: the line starting "Each run appends one line to `~/.mapbox/history/..." under Command History runs much longer than the surrounding prose's usual wrap width. Might be worth a rewrap in a follow-up.

Approving.

@zmofei
zmofei merged commit d4e9c06 into main Sep 29, 2026
24 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.

2 participants