Skip to content

[draft] theme update - #8764

Open
ethanpalm wants to merge 14 commits into
mainfrom
mintv2-migration
Open

ethanpalm wants to merge 14 commits into
mainfrom
mintv2-migration

Conversation

@ethanpalm

@ethanpalm ethanpalm commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Documentation changes

Brief description of what's being updated

Closes


For Reviewers

When reviewing documentation PRs, please consider:

✅ Technical accuracy

  • Code examples work as written
  • Commands and configurations are correct
  • Links resolve to the right destinations
  • Prerequisites and requirements are accurate

✅ Clarity and completeness

  • Instructions are clear and easy to follow
  • Steps are in logical order
  • Nothing important is missing
  • Examples help illustrate the concepts
  • Content follows the style guide

✅ User experience

  • A new user could follow these docs successfully
  • Common gotchas or edge cases are addressed
  • Error messages or troubleshooting guidance is helpful

Note

Low Risk
Documentation-only MDX and config changes with no runtime application logic; main risk is broken rendering if Columns/Note differ subtly from replaced components.

Overview
Migrates the Mintlify docs site to theme v2 by setting themeVersion: 2 and switching the theme from luma to mint in docs.json.

Across English, Spanish, and French MDX, layout and callout components are updated: CardGroup becomes Columns, and many Tip blocks become Note to 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.json for mint dev, and the changelog example Badge color changing from green to teal.

Reviewed by Cursor Bugbot for commit 763076e. Bugbot is set up for automated code reviews on this repo. Configure here.

ethanpalm and others added 2 commits December 1, 2026 14:53
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>
@mintlify

mintlify Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
Mintlify Docs 🟢 Ready View Preview Dec 4, 2026, 12:10 AM

💡 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>
ethanpalm and others added 2 commits December 1, 2026 16:15
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>

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

Comment thread home.css
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;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 429390b. Configure here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a false positive

Comment thread home.js
await navigator.clipboard.writeText(button.getAttribute('data-copy-prompt') ?? '');
} catch {
return;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 429390b. Configure here.

ethanpalm and others added 5 commits December 3, 2026 14:40
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>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Fix All in Cursor

❌ 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.

Comment thread home.css
font-size: 13px;
line-height: 18px;
color: var(--text-main-weak);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 5a5dffe. Configure here.

Comment thread home.css
background: var(--surface-main-surface-2);
box-shadow: var(--shadow-part-border), var(--shadow-part-layer-1);
text-decoration: none;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 5a5dffe. Configure here.

This branch was successfully deployed

1 active deployment
staging — 763076e8 Deployed Dec 4, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants