LGUG2Z 12556acc36 fix(docgen): prioritize $ref over type in enum variant Value display
For Pattern 6 (Internally Tagged + Flatten) enum variants that have both
`type: "object"` and `$ref` at the same level, the Value line now shows
a link to the referenced type instead of displaying "object".

Before:
  #### Catppuccin
  Theme from catppuccin-egui
  **Value:** `object`
  #### name
  ...all properties from KomorebiThemeCatppuccin inlined...

After:
  #### Catppuccin
  Theme from catppuccin-egui
  **Value:** [`KomorebiThemeCatppuccin`](#komorebithemecatppuccin)

Changes:
- Move $ref check to top of render_type_badge macro, prioritizing it
  over type when both are present
- Remove property inlining for Pattern 6 variants with $ref since the
  link makes inlined properties redundant
- Add test assertions verifying $ref link display and no property
  inlining for Pattern 6 variants
2025-12-27 22:21:46 -08:00
2025-12-24 14:26:55 -08:00
2025-12-24 14:26:55 -08:00
2025-12-24 14:26:55 -08:00
S
Description
No description provided
47 MiB
0 Stars 1 Watchers 0 Forks
Latest
2026-02-14 21:52:25 +01:00
Languages
Rust 98.2%
Python 0.6%
AutoHotkey 0.5%
Nix 0.5%
Just 0.2%