Skip to content

docs: fix flag cheatsheet table layout - #726

Open
alexeagle wants to merge 6 commits into
mainfrom
codex/issue-374-local-flag-cheatsheet
Open

docs: fix flag cheatsheet table layout#726
alexeagle wants to merge 6 commits into
mainfrom
codex/issue-374-local-flag-cheatsheet

Conversation

@alexeagle

@alexeagle alexeagle commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Replace the nested HTML tables in the flag cheatsheet with Mintlify ResponseField entries while preserving flag anchors and links.
  • Keep query/language.mdx on the normal upstream sync path and apply a checked-in unified patch that replaces the problematic kind example table with Mintlify Columns, containing a Starlark code listing and target-kind explanation.
  • Exclude only the locally maintained reference/flag-cheatsheet.mdx from the upstream MDX rsync.

Rationale

The flag cheatsheet is curated editorial content rather than generated reference data. Keeping its source in bazel-docs enables Mintlify-native presentation and faster content iteration without requiring changes in Bazel's upstream sources. Bazel continues to own and generate the authoritative command-line and query reference material.

The versioned flag-cheatsheet copies also show that upstream co-location has provided little maintenance value: across the release snapshots, only the 9.0.0 copy contains substantive editorial changes (--test_filter, the sandbox recommendation, and the displayed --show_timestamps spelling). The other version-to-version differences are formatting changes or heading-anchor repairs.

The query language page remains synchronized with upstream; its layout adjustment is represented as a checked-in patch. If upstream changes the surrounding content, the patch will fail visibly and require review.

Closes #374

Keep the curated flag cheatsheet editable in bazel-docs so Mintlify-specific improvements do not require upstream Bazel changes. Exclude only this page from the upstream MDX sync; all other documentation remains on the existing pipeline.
@mintlify

mintlify Bot commented Sep 6, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
bazel 🟢 Ready View Preview Sep 6, 2026, 2:06 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

Keep the kind example table at full width in Mintlify and preserve the local fix across upstream syncs.
Keep query/language.mdx on the upstream sync path and reapply the local table-width fix as a checked-in unified patch.
Keep the Mintlify ResponseField layout without repeating a non-informative type chip for every flag.
Give the code example column half the table width so the kind example remains readable in the Mintlify preview.
Replace the unsupported HTML table with a Mintlify Columns layout containing a Starlark listing and target-kind explanation.
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.

Fix table rendering

1 participant