Conversation
Reorder <TabItem> language tabs across 26 doc pages to the canonical order Python -> Java -> Node -> Go -> PHP -> C# -> Ruby (per AGENTS.md). All edits are pure block reorders; no code or prose changed. Add scripts/check-tab-order.mjs to enforce the order, wired into the `pnpm check:tab-order` script and the Static Checks CI workflow so future deviations fail PR checks. Document enforcement in AGENTS.md. Fixes #182 Signed-off-by: Alex Le <alex.le@improving.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Standardizes the ordering of language
<TabItem>tabs across the docs to the canonical order defined inAGENTS.md:Python → Java → Node → Go → PHP → C# → Ruby
Closes #182. Note: the issue predates the Ruby addition and lists
…C#, PHP, but the currentAGENTS.md(and the already-compliant pages) use PHP before C# with Ruby last. This PR follows the authoritativeAGENTS.mdorder, and the scope is the full current set of deviations (26 files), not just the 15 originally listed.Changes
<TabItem>block reorders; no code, prose, or labels changed (verified: sorted file contents are byte-identical tomain).scripts/check-tab-order.mjs), since ordering was previously governed only by prose inAGENTS.mdwith no automated check:pnpm check:tab-orderscript.Node.js→Node, and skips languages a page doesn't cover.AGENTS.md.Testing
node scripts/check-tab-order.mjs→ clean (it flagged all 62 pre-fix violations; 0 after).Node.jsnormalization, single-quote labels, reversed order; correctly ignores non-language tabs, nested non-language tabs, and language subsets.pnpm format:check→ pass.pnpm build→ 111 pages, all internal links valid.