fix(docs): give the SCA sidebar group a lock icon - #813
Merged
pengying merged 1 commit intoAug 10, 2026
Conversation
The API reference sidebar sets tag-group icons through CSS ::before rules
keyed on li[data-title="..."] in mintlify/style.css. Every OpenAPI tag in
the spec had a rule except Strong Customer Authentication, which rendered
with no icon at all.
Mintlify offers no supported way to set an icon on an auto-generated tag
group from the spec itself: `icon` on a tag object fails OpenAPI
validation, and `x-mint: { icon }` is silently ignored. Declaring the
group explicitly in docs.json does render an icon, but an explicit
`pages` array turns off endpoint auto-generation for the whole group, so
the CSS rule is the right fix here.
Verified against `mint dev`: the group's ::before now resolves to
lock.svg at 20x20, and all 23 sidebar groups have an icon.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
pengying
marked this pull request as ready for review
August 10, 2026 18:21
Contributor
Greptile SummaryAdds the missing lock icon for the Strong Customer Authentication API-reference sidebar group.
Confidence Score: 5/5The PR appears safe to merge with no actionable defects identified. The selector exactly matches the SCA OpenAPI tag, follows the established sidebar CSS pattern, and references an existing SVG asset.
|
| Filename | Overview |
|---|---|
| mintlify/style.css | Adds a correctly targeted SCA sidebar icon rule consistent with neighboring rules and the existing asset layout. |
Reviews (1): Last reviewed commit: "fix(docs): give the SCA sidebar group a ..." | Re-trigger Greptile
carsonp6
approved these changes
Aug 10, 2026
Contributor
Author
pengying
deleted the
08-10-fix_docs_give_the_sca_sidebar_group_a_lock_icon
branch
August 10, 2026 18:39
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.

The API reference sidebar sets tag-group icons through CSS
::beforerules keyed onli[data-title="..."]inmintlify/style.css. Every OpenAPI tag in the spec had a rule except Strong Customer Authentication, which rendered with no icon at all.Mintlify offers no supported way to set an icon on an auto-generated tag group from the spec itself:
iconon a tag object fails OpenAPI validation, andx-mint: { icon }is silently ignored. Declaring the group explicitly indocs.jsondoes render an icon, but an explicitpagesarray turns off endpoint auto-generation for the whole group — so the CSS rule is the right fix here.Verified against
mint dev: the group's::beforenow resolves tolock.svgat 20x20, and all 23 sidebar groups have an icon (none missing).Note:
lock.svgis also used by the Embedded Wallet Auth group. Happy to switch SCA toshield.svgif we'd rather they read distinctly.🤖 Generated with Claude Code