Skip to content

theme update - #8764

Merged
ethanpalm merged 29 commits into
mainfrom
mintv2-migration
Dec 4, 2026
Merged

ethanpalm merged 29 commits into
mainfrom
mintv2-migration

Conversation

@ethanpalm

@ethanpalm ethanpalm commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Documentation changes

This branch previews the docs migration with Sequoia v2. Open the hosted preview.

Closes


Theme preview

The site uses Sequoia v2. On desktop, the first two tabs span the sidebar width, and “Talk to us” starts at the TOC border. Quickstart shows a published docs site with its Live indicator in the header. Migrate connects three source logos to the Mintlify mark. The Docs MCP tile connects Claude, Codex, and Cursor to a document result. The CLI editor and its overlapping preview use surfaces from the active theme. The Editor illustration shows the editor’s bold, italic, underline, Ask agent, and comment icons in a centered toolbar.

The comparisons show the production docs (PR base 5109d232) and the hosted preview (2d5136094) at matching viewport sizes in light mode.

Scenario Before After
Homepage · desktop · 1440 × 900 Production desktop homepage Sequoia desktop homepage
Homepage · mobile · 390 × 844 Production mobile homepage Sequoia mobile homepage
Quickstart · desktop · 1440 × 900 Production Quickstart Quickstart with header borders aligned to the sidebar and TOC

Homepage illustrations

Light Dark
All nine homepage illustrations in light mode All nine homepage illustrations in dark mode
Editor toolbar in light mode Editor toolbar in dark mode

Topic icons

The nine topic links use the theme’s flat tertiary icon surface.

Light Dark
Topic icons in light mode Topic icons in dark mode

Help text

The help paragraph fills its grid column and keeps the status page link together.

Help row with the Command I keycap and the status page link kept together

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 and site theme configuration only; no application auth, billing, or API behavior changes.

Overview
This PR migrates the Mintlify docs site to Sequoia theme v2 by setting themeVersion: 2 and theme: "sequoia" in docs.json, and aligns the doc corpus with v2 MDX patterns across English, Spanish, and a few French pages.

Component and markup updates: Widespread replacement of CardGroup with Columns for card grids, and of many contextual Tip callouts with Note (while leaving other callout types unchanged). Keyboard shortcuts are reformatted from multiple <kbd> tags plus + separators to combined forms like <kbd>Cmd+K</kbd> in editor, desktop, CLI, changelog, and related guides.

Miscellaneous: Adds .claude/launch.json for local mint dev on port 3333. Tweaks one changelog Badge example from green to teal.

Reviewed by Cursor Bugbot for commit d8f3365. 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, 9:48 PM

💡 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

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.

Not an issue: the homepage article reports data-page-href="/index" on every environment we checked (local mint dev, the preview deployment, and production), never /. The localized homepages report /es/index, /fr/index, and /zh/index, which the selectors also match.

Comment thread home.js Resolved
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 Resolved
Comment thread home.css Resolved
- Let the copy-prompt button wrap, so the longer French and Spanish
  labels no longer overflow narrow screens.
- Scope the topic icon rule so .home-topics span no longer overrides
  its color.
- Fall back to execCommand when the Clipboard API is blocked, and show
  a translated "Copy failed" label, announced politely, when both fail.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Theme version 2 doesn't wrap a standalone component in a paragraph, so
the inline link had no vertical margin and its padding overlapped the
text around it. Make it inline-block with the 16px top margin that
paragraphs get.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ethanpalm ethanpalm changed the title [draft] theme update theme update Dec 4, 2026

@taylortran86 taylortran86 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@ethanpalm
ethanpalm merged commit 4f670ca into main Dec 4, 2026
7 checks passed
@ethanpalm
ethanpalm deleted the mintv2-migration branch December 4, 2026 21:57
taylortran86 added a commit that referenced this pull request Dec 4, 2026
Resolve conflicts with #8764 (theme update):
- docs.json: keep "theme": "sequoia" from main; keep this branch's nav changes
- index.mdx, es/fr/zh index.mdx, home.css, home.js: take main's homepage (snippet-based refactor of the same homepage)
- redirects.json: keep both sets of redirects
- editor/collaborate.mdx (all locales): keep main's structural-suggestions list, with Shift+Tab in combined kbd form
- agent-context cli.md: keep theme v2 diagnostics text and main's multi-repo sentence

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch was successfully deployed

1 active deployment
staging — 2d513609 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.

3 participants