Add per-page icons to docs sidebar#5997
Conversation
Added icon frontmatter to all 61 doc pages for per-page sidebar icons: - Get Started: book-open, play, message-dots - Backend: server, magnifying-glass, comments, database, microphone, tower-broadcast - SDK: cube, snake, react, swift - Developer API: square-terminal, brain, list-check, message, key - Apps: grid-2, terminal, link, wrench, github, slack, graduation-cap, etc. - Hardware: circle-dot, screwdriver-wrench, bolt, gears, glasses, circuit-board - DIY: book, cart-shopping, screwdriver - Info: life-ring, scale-balanced, triangle-exclamation, lock
Greptile SummaryThis PR adds per-page Key changes:
Confidence Score: 4/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[docs.json navigation groups] -->|Previously| B[Group-level icon on each group heading]
A -->|After this PR| C[No icon on group headings]
D[MDX page frontmatter] -->|Previously| E[title + description only]
D -->|After this PR| F[title + description + icon per page]
F --> G[Sidebar shows icon next to every page item]
C --> H[Sidebar shows plain text group headers]
Reviews (1): Last reviewed commit: "Add icons to individual docs sidebar pag..." | Re-trigger Greptile |
| "doc/developer/apps/Notifications", | ||
| "doc/developer/apps/Submitting", | ||
| "doc/developer/apps/OpenSource" | ||
| "doc/developer/apps/OpenSource" |
There was a problem hiding this comment.
Incorrect indentation on
OpenSource entry
The "doc/developer/apps/OpenSource" entry at line 101 has about 20 leading spaces instead of the 10 used by every other page entry at the same nesting level (e.g. "doc/developer/apps/Submitting" on the line above). While JSON parsers ignore whitespace outside strings so this won't break parsing, it's inconsistent and suggests an accidental edit.
| "doc/developer/apps/OpenSource" | |
| "doc/developer/apps/OpenSource" |
| } | ||
| } | ||
| } | ||
| } No newline at end of file |
There was a problem hiding this comment.
Missing newline at end of file
The diff shows the closing } was changed to remove the trailing newline (-}\n → +}), leaving the file without a POSIX-compliant end-of-file newline. Most editors and linters (including Mintlify's tooling) expect a trailing newline. Add one back to restore the original behaviour.
| } | |
| } |
| { | ||
| "group": "Get Started", |
There was a problem hiding this comment.
Group-level icons removed from all navigation groups
Every top-level and nested group entry (e.g. "Get Started", "Core Development", "Backend", "Firmware", "SDK", "Audio & Testing", "Developer API", "MCP Integration", "Build Apps", "Examples", "Hardware", "Open Source Hardware", "OmiGlass", "DIY Guide", "Info") had their "icon" field removed. This means sidebar group headers will now render without icons on the Mintlify site.
Per the PR description this is intentional (moving icons from groups to individual pages), but it's worth verifying the visual result is acceptable — Mintlify displays group headings prominently and many users rely on group icons to orient themselves in the sidebar. If the intent is to have both group and page icons, the group "icon" entries would need to be kept.
Adds icons to each individual page in the docs sidebar (not group headings). Each MDX file gets an `icon` frontmatter property. **61 pages updated** with contextual icons — similar to the Supermemory docs style where every line item has its own icon. Examples: - 🧠 Memories → `brain` - 🔑 API Keys → `key` - 📡 Transcription → `microphone` - 🔌 MCP → `plug` - 🛒 Buying Guide → `cart-shopping` - 🔒 Privacy → `lock`
Adds icons to each individual page in the docs sidebar (not group headings). Each MDX file gets an
iconfrontmatter property.61 pages updated with contextual icons — similar to the Supermemory docs style where every line item has its own icon.
Examples:
brainkeymicrophoneplugcart-shoppinglock