Repository navigation
[draft] theme update - #8764
[draft] theme update#8764ethanpalm wants to merge 14 commits into
Conversation
Brings over index.mdx, home.css, and the HomeSearch and HomeSetupPrompt snippets from #8239. Changes from the PR: - HomeSearch clicks [data-layout-item="search-entry"] first. Mint v2 doesn't render [data-search-item="trigger"] or #search-bar-entry, so the field fell through to the ?search= fallback, which doesn't open the dialog either. - "Admin MCP server" is now "Mintlify MCP server" per ProductTerms. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Theme v2 removed `mode: frame`; mint validate warns about it and the page falls back to the default layout. home.css now recreates the frame look with the recipe from the theme v2 changelog, scoped to the home page through the article's data-page-href: no table of contents rail, page header, or pagination, and the article fills the column. It also hides the phone page bar, which v2 adds below 752px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Theme v2 removes Tip and CardGroup and expects one <kbd> per shortcut. Fold Tip's use into Note, recommend Columns for card layouts, and show the single-tag keyboard shortcut format. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| body:has([data-page-href='/index']) | ||
| :is([data-rail='toc'], [data-layout-item='right-rail'], [data-layout-item='page-header'], [data-layout-item='page-footer'], [data-layout-item='pagination'], [data-layout-item='page-bar']) { | ||
| display: none; | ||
| } |
There was a problem hiding this comment.
Homepage layout misses root path
High Severity
The frame-layout rules only match [data-page-href='/index']. The prior stylesheet also matched [data-page-href='/'], with a comment that some deployments report the root path. html[data-current-path] for this page is /. If the article uses /, the homepage keeps the default header, TOC, and pagination, and the custom layout never applies.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 429390b. Configure here.
There was a problem hiding this comment.
This looks like a false positive
| await navigator.clipboard.writeText(button.getAttribute('data-copy-prompt') ?? ''); | ||
| } catch { | ||
| return; | ||
| } |
There was a problem hiding this comment.
Copy prompt fails with no fallback
Medium Severity
The copy-prompt handler returns without feedback when navigator.clipboard.writeText throws. The prompt lives only on data-copy-prompt, so a permission denial or non-secure context leaves no visible text to copy and no indication that the action failed.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 429390b. Configure here.
…nto mintv2-migration
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Apply mint validate fixes to English pages: Tip becomes Note (per the style guide), CardGroup becomes Columns, kbd shortcuts become one tag, and old Badge, Card, and Prompt props and values are updated. Skips the 20 pages that the theme docs PR (#8800) rewrites. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Same mechanical fixes as the English pages, applied to es, fr, and zh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolve conflicts in dashboard/roles.mdx and editor/pages.mdx (and es, fr, zh translations) by taking main's rewritten content, then reapplying the theme version 2 changes: Tip callouts become Note, and multi-key kbd sequences become a single kbd. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Translate the theme version 2 homepage, point its links at each locale, and scope the home.css layout to the localized homepages, which replaces their removed mode: frame. The copy button now restores the label it started with and shows a translated "Copied" when the page sets one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file is generated at deploy, so mint broken-links flagged the relative path, and a relative /llms.txt depends on the /docs rewrite. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
There are 4 total unresolved issues (including 2 from previous reviews).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 5a5dffe. Configure here.
| font-size: 13px; | ||
| line-height: 18px; | ||
| color: var(--text-main-weak); | ||
| } |
There was a problem hiding this comment.
Topic icon color gets overridden
Low Severity
.home-topics span is more specific than .home-topic-icon and comes later, so it overrides the icon color with --text-main-weak. The topic icons are span elements that use currentColor, so they render in the description color instead of --icon-main-base.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 5a5dffe. Configure here.
| background: var(--surface-main-surface-2); | ||
| box-shadow: var(--shadow-part-border), var(--shadow-part-layer-1); | ||
| text-decoration: none; | ||
| } |
There was a problem hiding this comment.
Copy button overflows narrow screens
Medium Severity
The hero copy control uses white-space: nowrap and a fixed height inside a wrapping flex row. A flex item's default min-width: auto is the full text width, so the longer Spanish, French, and Chinese labels cannot wrap or shrink and force horizontal overflow on narrow viewports.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 5a5dffe. Configure here.


Documentation changes
Brief description of what's being updated
Closes
For Reviewers
When reviewing documentation PRs, please consider:
✅ Technical accuracy
✅ Clarity and completeness
✅ User experience
Note
Low Risk
Documentation-only MDX and config changes with no runtime application logic; main risk is broken rendering if
Columns/Notediffer subtly from replaced components.Overview
Migrates the Mintlify docs site to theme v2 by setting
themeVersion: 2and switching the theme fromlumatomintindocs.json.Across English, Spanish, and French MDX, layout and callout components are updated:
CardGroupbecomesColumns, and manyTipblocks becomeNoteto match the new theme component set.Keyboard shortcut markup is standardized from separate
<kbd>tags per key to combined forms like<kbd>Cmd+K</kbd>in editor, desktop, CLI, and changelog pages.Minor doc tweaks include a new
.claude/launch.jsonformint dev, and the changelog example Badge color changing fromgreentoteal.Reviewed by Cursor Bugbot for commit 763076e. Bugbot is set up for automated code reviews on this repo. Configure here.