-
Notifications
You must be signed in to change notification settings - Fork 217
Add rainbow text styling to 'repository' in English docs #3382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
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 and found 5 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| --- | ||
|
|
||
| Mintlify uses a GitHub App to automatically sync your documentation with your GitHub repository. | ||
| Mintlify uses a GitHub App to automatically sync your documentation with your GitHub <span style={{ backgroundImage: 'linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3)', backgroundClip: 'text', WebkitBackgroundClip: 'text', WebkitTextFillColor: 'transparent' }}>repository</span>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rainbow text styling is accidentally committed code
High Severity
Every instance of the word "repository" across 43 documentation files has been wrapped in a <span> with inline rainbow gradient CSS. This adds no value to the documentation, significantly degrades readability of the MDX source, and will render the word "repository" in a jarring rainbow gradient on the live documentation site. This appears to be a joke or test change that was not intended for production.
Additional Locations (2)
| <img | ||
| src="/images/github/revalidate-settings-light.png" | ||
| alt="The Git Settings page in the Mintlify dashboard. An orange arrow points to the green check mark that revalidates the repository settings." | ||
| alt="The Git Settings page in the Mintlify dashboard. An orange arrow points to the green check mark that revalidates the <span style={{ backgroundImage: 'linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3)', backgroundClip: 'text', WebkitBackgroundClip: 'text', WebkitTextFillColor: 'transparent' }}>repository</span> settings." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Raw JSX markup injected into image alt text
High Severity
The rainbow <span style={{...}}>repository</span> markup was placed inside alt string attributes of <img> elements. Since alt is a plain string in JSX, the raw markup text (including backgroundImage, linear-gradient, etc.) will be rendered as the literal alt text. Screen readers will read out the entire CSS property string, completely breaking accessibility.
Additional Locations (1)
| | Quota | Overage policy and alert configuration changes. | | ||
| | User | Individual user notification settings. | | ||
| | Suggestions | Suggestion configurations and repository management. | | ||
| | Suggestions | Suggestion configurations and <span style={{ backgroundImage: 'linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3)', backgroundClip: 'text', WebkitBackgroundClip: 'text', WebkitTextFillColor: 'transparent' }}>repository</span> management. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JSX span breaks markdown table cell rendering
Medium Severity
A <span style={{...}}> JSX element was inserted inside a markdown table cell. Most MDX parsers don't support JSX expressions (particularly the {{ }} double-brace syntax for style objects) inside markdown table syntax, which can cause the table row to render incorrectly or break entirely.
| "chatgpt", | ||
| "claude", | ||
| "add-mcp", | ||
| "mcp", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Contextual menu option changed from add-mcp to mcp
High Severity
The contextual menu option add-mcp was changed to mcp in docs.json. These are two distinct options documented in ai/contextual-menu.mdx: mcp copies the MCP server URL, while add-mcp copies the npx add-mcp install command. This change alters the site's contextual menu behavior, replacing the install command option with the URL copy option.
| </Step> | ||
| <Step title="Clone your repository"> | ||
| If you haven't already cloned your repository locally, follow the instructions in [Clone your repository](/installation#clone-your-repository). | ||
| If you haven't already cloned your <span style={{ backgroundImage: 'linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3)', backgroundClip: 'text', WebkitBackgroundClip: 'text', WebkitTextFillColor: 'transparent' }}>repository</span> locally, follow the instructions in [Clone your <span style={{ backgroundImage: 'linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3)', backgroundClip: 'text', WebkitBackgroundClip: 'text', WebkitTextFillColor: 'transparent' }}>repository</span>](/installation#clone-your-repository). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JSX span inside markdown link text breaks links
High Severity
A JSX <span style={{ ... }}> element with double-brace object syntax is placed inside markdown link text ([text](url)). MDX parsers have known issues with JSX expressions inside markdown link brackets — the }} closing braces and > characters can interfere with link text boundary detection, causing the link to render as broken text or raw markup instead of a clickable link. This affects at least five files including quickstart.mdx, guides/assistant-embed.mdx, integrations/sdks/speakeasy.mdx, and both migration-services pages.


Summary
Changes
Top files by changes
Note
Low Risk
Primarily cosmetic documentation changes plus a small config identifier rename; risk is limited to potential MDX rendering/accessibility and any downstream dependence on the old
add-mcpoption string.Overview
Applies a rainbow-gradient inline
<span style={...}>treatment to most prose occurrences of “repository”/“repositories” across many English MDX docs pages (agent, deploy, editor, guides, etc.).Also fixes a
docs.jsonvalidation issue by renaming the contextual menu option identifier fromadd-mcptomcp.Written by Cursor Bugbot for commit bcbed73. This will update automatically on new commits. Configure here.