[docs] docs: consolidate token reference to reduce repetition#23311
Closed
github-actions[bot] wants to merge 1 commit intomainfrom
Closed
[docs] docs: consolidate token reference to reduce repetition#23311github-actions[bot] wants to merge 1 commit intomainfrom
github-actions[bot] wants to merge 1 commit intomainfrom
Conversation
Merge three near-identical AI engine token sections into one combined section, and replace seven verbose pseudo-code precedence chain blocks with a compact table. Reduces the page by ~95 lines (~20%) while preserving all technical details. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.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.
File improved
docs/src/content/docs/reference/tokens.mdWhat was removed
AI engine token sections merged: The three near-identical sections for
ANTHROPIC_API_KEY,OPENAI_API_KEY, andGEMINI_API_KEYwere combined into a single section with a compact comparison table. Each had the same property table structure (Source, Required, Permissions, Fallback, Used by) with trivially different values, plus an identical code snippet pattern. The merged section preserves all details including theCODEX_API_KEYfallback note for OpenAI.Token Precedence Chains converted to table: Seven separate subsections, each containing a named pseudo-code block (e.g.
getEffectiveGitHubToken()), were replaced with a single 7-row markdown table showing the resolution order for each context. The important note aboutGH_AW_GITHUB_MCP_SERVER_TOKENbeing intentionally absent from the Safe Outputs chain is preserved.Impact
Screenshots
Screenshots of the rendered documentation page were unavailable — the Playwright container could not reach the dev server's bridge network IP (
172.30.0.20:4321) due to network isolation in this AWF configuration. Page content was verified viacurland confirmed the consolidated sections render correctly (Quick Reference table intact, merged AI engine section present, precedence chain table visible).Blocked domains: Not applicable (screenshot capture was skipped due to network isolation).
References: §23676506351