Repository navigation
refactor: apply code readability guidelines - #1271
Merged
Merged
Conversation
Co-authored-by: Eden Reich <[email protected]>
inference-gateway-maintainer
Bot
requested a review
from a team
as a code owner
November 17, 2026 21:04
3 tasks
Contributor
|
🗑️ Preview environment destroyed. |
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
Applies the
Code Readabilityguidelines fromAGENTS.mdto the existing source. No behavior change:bun test(byte-for-byte comparison of every generated region) still passes, so generator output is identical.Generator script and test
scripts/generate-provider-docs.mjsand its test. The schema env vars (SCHEMA_REPO,SCHEMA_REF,SCHEMA_URL,--schema-file=/SCHEMA_FILE) are now documented inAGENTS.md.import.meta.mainguard.assertSingleRegion.renderAdkProviderTabledoc comment to 4 lines.AUTH_TYPE_NONE,MIN_SEPARATOR_DASHES, andREGION_PADDING.argValuenow slices by the prefix length.startMarker/endMarkerare shared between the generator and the test. The test usesREGION_PADDING.lengthinstead of+2/-1.Site config and components
.vitepress/config.ts:titleTemplateand theauthormeta useSITE_NAME. AddedBRAND_COLOR(theme-color + mermaid border) andOG_IMAGE_WIDTH/OG_IMAGE_HEIGHT. DroppedCLAUDE.mdfromsrcExclude.QuickStartTerminal.vue:NOTHING_COPIEDandCOPIED_RESET_DELAY_MSconstants.FlowDiagram.vue: left the two CSS comments as they are. They explain layout reasons (why the grid spans the band, why the rail stays vertical) that a class name cannot carry.Markdown semicolons
GENERATED:*regions. A semicolon inside parentheses became-, since a period would break the parenthetical. Also fixed a few hand-written config descriptions inconfiguration.md.git grephits are all inside YAML/shell code blocks or a literal CLI output string, which the issue marks as fine.Validation
bun test,bun run lint:md,bun run format:check, andbun run buildall pass locally.Not done
tokenlessmock gateway. The issue scopes that out as a separate pass.no docs ticket: internal-only refactor
Closes #1270
Generated with Claude Code