Commit 8486663
committed
api-style(feat[badges]): Apply dense and dotted-underline modifiers
why: Signature-row badges read more cleanly when dense; the dotted underline
gives the label a quiet visual rhythm without implying a link. The shared
Tier A modifiers (SAB.DENSE, SAB.UNDERLINE_DOTTED) already exist in
sphinx-ux-badges and are already in production use by sphinx-autodoc-fastmcp
(with NO_UNDERLINE). No CSS change required.
what:
- Append SAB.DENSE and SAB.UNDERLINE_DOTTED to both modifier and type
BadgeSpec class tuples in build_badge_group().
- Existing 43 api-style tests continue to pass (their `in` assertions
tolerate the added classes).1 parent a9dce74 commit 8486663
1 file changed
Lines changed: 14 additions & 2 deletions
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
147 | 153 | | |
148 | 154 | | |
149 | 155 | | |
| |||
155 | 161 | | |
156 | 162 | | |
157 | 163 | | |
158 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
159 | 171 | | |
160 | 172 | | |
161 | 173 | | |
| |||
0 commit comments