Skip to content

Commit 89f628c

Browse files
committed
Icon rendering fixes
1 parent 480dc4e commit 89f628c

1 file changed

Lines changed: 84 additions & 50 deletions

File tree

  • src/CloudNimble.DotNetDocs.Docs/providers/mintlify

src/CloudNimble.DotNetDocs.Docs/providers/mintlify/index.mdx

Lines changed: 84 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -383,72 +383,106 @@ The Mintlify provider includes 50+ context-aware FontAwesome icons. Icons are au
383383
<Accordion title="Type Icons" icon="shapes">
384384
Icons assigned based on type classification:
385385

386-
| Type | Icon | Symbol |
387-
|------|------|--------|
388-
| Class | `cube` | 🧊 |
389-
| Interface | `layer-group` | 📚 |
390-
| Struct | `cube-alt` | 🔷 |
391-
| Enum | `list-ol` | 📋 |
392-
| Delegate | `arrow-right` | ➡️ |
393-
| Namespace | `folder` | 📁 |
386+
| Type | Icon Class | Icon |
387+
|------|------------|------|
388+
| Class | `file-brackets-curly` | <Icon icon="file-brackets-curly" /> |
389+
| Abstract Class | `shapes` | <Icon icon="shapes" /> |
390+
| Static Class | `bolt` | <Icon icon="bolt" /> |
391+
| Sealed Class | `lock` | <Icon icon="lock" /> |
392+
| Generic Type | `code-branch` | <Icon icon="code-branch" /> |
393+
| Interface | `plug` | <Icon icon="plug" /> |
394+
| Struct | `cubes` | <Icon icon="cubes" /> |
395+
| Enum | `list-ol` | <Icon icon="list-ol" /> |
396+
| Record | `database` | <Icon icon="database" /> |
397+
| Delegate | `arrow-right-arrow-left` | <Icon icon="arrow-right-arrow-left" /> |
398+
| Assembly | `cubes` | <Icon icon="cubes" /> |
399+
| Namespace (populated) | `folder-tree` | <Icon icon="folder-tree" /> |
400+
| Namespace (empty) | `folder-open` | <Icon icon="folder-open" /> |
394401
</Accordion>
395402

396403
<Accordion title="Member Icons" icon="list">
397404
Icons for class members:
398405

399-
| Member | Icon | Symbol |
400-
|--------|------|--------|
401-
| Method | `function` | ƒ |
402-
| Property | `sliders` | 🎚️ |
403-
| Field | `input-text` | 📝 |
404-
| Event | `bolt` ||
405-
| Constructor | `hammer` | 🔨 |
406-
| Operator | `calculator` | 🔢 |
406+
| Member | Icon Class | Icon |
407+
|--------|------------|------|
408+
| Method | `function` | <Icon icon="function" /> |
409+
| Extension Method | `puzzle-piece` | <Icon icon="puzzle-piece" /> |
410+
| Override Method | `code-merge` | <Icon icon="code-merge" /> |
411+
| Virtual Method | `code-fork` | <Icon icon="code-fork" /> |
412+
| Async Method | `rotate` | <Icon icon="rotate" /> |
413+
| Static Member | `thumbtack` | <Icon icon="thumbtack" /> |
414+
| Property | `tag` | <Icon icon="tag" /> |
415+
| Field | `box` | <Icon icon="box" /> |
416+
| Constant Field | `anchor` | <Icon icon="anchor" /> |
417+
| Event | `bell` | <Icon icon="bell" /> |
418+
| Constructor | `hammer` | <Icon icon="hammer" /> |
419+
| Operator | `calculator` | <Icon icon="calculator" /> |
420+
| Indexer | `table-cells` | <Icon icon="table-cells" /> |
407421
</Accordion>
408422

409423
<Accordion title="Pattern-Based Icons" icon="wand-magic">
410-
Icons assigned based on naming patterns:
411-
412-
| Pattern | Icon | Example |
413-
|---------|------|---------|
414-
| *Manager | `gears` | DocumentationManager |
415-
| *Service | `server` | PaymentService |
416-
| *Repository | `database` | UserRepository |
417-
| *Controller | `gamepad` | ApiController |
418-
| *Factory | `industry` | ConnectionFactory |
419-
| *Builder | `hammer` | StringBuilder |
420-
| *Provider | `plug` | ConfigurationProvider |
421-
| *Handler | `hand` | EventHandler |
422-
| *Helper | `circle-question` | StringHelper |
423-
| *Validator | `check-circle` | InputValidator |
424+
Icons assigned based on type naming patterns:
425+
426+
| Pattern | Icon Class | Icon | Example |
427+
|---------|------------|------|---------|
428+
| *Manager | `briefcase` | <Icon icon="briefcase" /> | DocumentationManager |
429+
| *Service | `server` | <Icon icon="server" /> | PaymentService |
430+
| *Controller | `gamepad` | <Icon icon="gamepad" /> | ApiController |
431+
| *Factory | `industry` | <Icon icon="industry" /> | ConnectionFactory |
432+
| *Builder | `hammer` | <Icon icon="hammer" /> | StringBuilder |
433+
| *Provider | `plug` | <Icon icon="plug" /> | ConfigurationProvider |
434+
| *Handler | `hand` | <Icon icon="hand" /> | EventHandler |
435+
| *Helper / *Utility | `wrench` | <Icon icon="wrench" /> | StringHelper |
436+
| *Validator | `check-circle` | <Icon icon="check-circle" /> | InputValidator |
437+
| *Model / *Entity | `database` | <Icon icon="database" /> | UserModel |
438+
| *DTO | `exchange` | <Icon icon="exchange" /> | PaymentDto |
439+
| *ViewModel | `layer-group` | <Icon icon="layer-group" /> | OrderViewModel |
440+
| *Exception | `triangle-exclamation` | <Icon icon="triangle-exclamation" /> | NotFoundException |
441+
| *Attribute | `tag` | <Icon icon="tag" /> | ObsoleteAttribute |
442+
| I* (interface) | `plug` | <Icon icon="plug" /> | IDisposable |
424443
</Accordion>
425444

426445
<Accordion title="Modifier Icons" icon="toggle-on">
427-
Additional icons for access modifiers and type characteristics:
428-
429-
| Modifier | Icon | Symbol |
430-
|----------|------|--------|
431-
| Static | `s` | S |
432-
| Abstract | `shapes` | 🔺 |
433-
| Sealed | `lock` | 🔒 |
434-
| Generic | `brackets-curly` | { } |
435-
| Async | `arrows-spin` | 🔄 |
446+
Icons for access modifiers and type characteristics:
447+
448+
| Modifier | Icon Class | Icon |
449+
|----------|------------|------|
450+
| Public | `globe` | <Icon icon="globe" /> |
451+
| Protected | `shield` | <Icon icon="shield" /> |
452+
| Protected Internal | `shield-halved` | <Icon icon="shield-halved" /> |
453+
| Internal | `building` | <Icon icon="building" /> |
454+
| Private | `lock` | <Icon icon="lock" /> |
436455
</Accordion>
437456

438457
<Accordion title="Namespace Segment Icons" icon="folder-tree">
439458
Icons based on namespace segments:
440459

441-
| Segment | Icon | Example |
442-
|---------|------|---------|
443-
| Core | `circle-dot` | MyApp.Core |
444-
| Extensions | `puzzle-piece` | MyApp.Extensions |
445-
| Models | `diagram-project` | MyApp.Models |
446-
| Services | `server` | MyApp.Services |
447-
| Data | `database` | MyApp.Data |
448-
| Security | `shield` | MyApp.Security |
449-
| Web | `globe` | MyApp.Web |
450-
| Api | `cloud` | MyApp.Api |
451-
| Testing | `vial` | MyApp.Testing |
460+
| Segment | Icon Class | Icon | Example |
461+
|---------|------------|------|---------|
462+
| Core | `circle` | <Icon icon="circle" /> | MyApp.Core |
463+
| Extensions | `puzzle-piece` | <Icon icon="puzzle-piece" /> | MyApp.Extensions |
464+
| Models | `database` | <Icon icon="database" /> | MyApp.Models |
465+
| Services | `server` | <Icon icon="server" /> | MyApp.Services |
466+
| Data | `database` | <Icon icon="database" /> | MyApp.Data |
467+
| Controllers | `gamepad` | <Icon icon="gamepad" /> | MyApp.Controllers |
468+
| Views | `eye` | <Icon icon="eye" /> | MyApp.Views |
469+
| ViewModels | `layer-group` | <Icon icon="layer-group" /> | MyApp.ViewModels |
470+
| Configuration | `gears` | <Icon icon="gears" /> | MyApp.Configuration |
471+
| Handlers | `hand` | <Icon icon="hand" /> | MyApp.Handlers |
472+
| Factories | `industry` | <Icon icon="industry" /> | MyApp.Factories |
473+
| Builders | `hammer` | <Icon icon="hammer" /> | MyApp.Builders |
474+
| Validators | `check-circle` | <Icon icon="check-circle" /> | MyApp.Validators |
475+
| Exceptions | `triangle-exclamation` | <Icon icon="triangle-exclamation" /> | MyApp.Exceptions |
476+
| Entities | `cubes` | <Icon icon="cubes" /> | MyApp.Entities |
477+
| Enums | `list-ol` | <Icon icon="list-ol" /> | MyApp.Enums |
478+
| Constants | `anchor` | <Icon icon="anchor" /> | MyApp.Constants |
479+
| Tests | `flask` | <Icon icon="flask" /> | MyApp.Tests |
480+
| Shared / Common | `share-nodes` | <Icon icon="share-nodes" /> | MyApp.Shared |
481+
| Utilities / Helpers | `wrench` | <Icon icon="wrench" /> | MyApp.Utilities |
482+
| Interfaces | `plug` | <Icon icon="plug" /> | MyApp.Interfaces |
483+
| Api | `plug` | <Icon icon="plug" /> | MyApp.Api |
484+
| Web | `globe` | <Icon icon="globe" /> | MyApp.Web |
485+
| Infrastructure | `building` | <Icon icon="building" /> | MyApp.Infrastructure |
452486
</Accordion>
453487
</AccordionGroup>
454488

0 commit comments

Comments
 (0)