Skip to content

Add rainbow text styling to deployment word#3157

Closed
mintlify-development[bot] wants to merge 1 commit intomainfrom
rainbow-deployment-text
Closed

Add rainbow text styling to deployment word#3157
mintlify-development[bot] wants to merge 1 commit intomainfrom
rainbow-deployment-text

Conversation

@mintlify-development
Copy link
Contributor

@mintlify-development mintlify-development bot commented Feb 6, 2026

Summary

  • Created a custom RainbowText component for rainbow gradient text styling
  • Applied RainbowText component to all instances of 'deployment' in English documentation (33 files)
  • Validated changes with mint broken-links and mint validate
  • Only modified English docs, excluded all language directories

The word 'deployment' now appears with a rainbow gradient effect throughout the documentation.


Note

Low Risk
Pure documentation/MDX presentation change with no product logic impact; main risk is accidental rendering or broken-link issues if <RainbowText> is used inside URLs/image paths where raw strings are expected.

Overview
Adds a new MDX snippet snippets/rainbow-text.mdx exporting a RainbowText component that renders text with a rainbow gradient.

Updates many English documentation pages to include the snippet and wrap occurrences of “deployment/deploy(ment)s” (including in headings, tables, links, and some image paths) with <RainbowText> for consistent styling.

Written by Cursor Bugbot for commit 05a93c2. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a 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 7 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

## Add your custom domain

1. Navigate to the [Custom domain setup](https://dashboard.mintlify.com/settings/deployment/custom-domain) page in your dashboard.
1. Navigate to the [Custom domain setup](https://dashboard.mintlify.com/settings/<RainbowText>deployment</RainbowText>/custom-domain) page in your dashboard.
Copy link

Choose a reason for hiding this comment

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

RainbowText inside URLs breaks all dashboard links

High Severity

<RainbowText> is placed inside markdown link URLs (e.g. https://dashboard.mintlify.com/settings/<RainbowText>deployment</RainbowText>/custom-domain). Since <RainbowText> renders an HTML <span>, the URL string becomes malformed and the link will not navigate to the correct dashboard page. This affects dozens of dashboard links across customize/custom-domain.mdx, deploy/authentication-setup.mdx, deploy/github.mdx, deploy/gitlab.mdx, deploy/monorepo.mdx, installation.mdx, and optimize/pdf-exports.mdx.

Additional Locations (2)

Fix in Cursor Fix in Web

<img src="/images/deployments/manual-update-light.png" alt="The manual update button emphasized with an orange rectangle." className="block dark:hidden" />
<img src="/images/deployments/manual-update-dark.png" alt="The manual update button emphasized with an orange rectangle." className="hidden dark:block" />
<img src="/images/<RainbowText>deployments</RainbowText>/manual-update-light.png" alt="The manual update button emphasized with an orange rectangle." className="block dark:hidden" />
<img src="/images/<RainbowText>deployments</RainbowText>/manual-update-dark.png" alt="The manual update button emphasized with an orange rectangle." className="hidden dark:block" />
Copy link

Choose a reason for hiding this comment

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

RainbowText inside image src breaks image loading

High Severity

<RainbowText> is placed inside img src attributes (e.g. src="/images/<RainbowText>deployments</RainbowText>/manual-update-light.png"). Since JSX string attributes don't evaluate embedded components, the image paths become malformed and images will fail to load. This affects four images across deploy/deployments.mdx and deploy/preview-deployments.mdx.

Additional Locations (1)

Fix in Cursor Fix in Web


<Note>
Automatic previews are only created for pull requests targeting your [deployment branch](/guides/git-concepts#deployment-branch).
Automatic previews are only created for pull requests targeting your [<RainbowText>deployment</RainbowText> branch](/guides/git-concepts#<RainbowText>deployment</RainbowText>-branch).
Copy link

Choose a reason for hiding this comment

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

RainbowText inside anchor fragment breaks page navigation

High Severity

<RainbowText> is placed inside a URL anchor fragment (#<RainbowText>deployment</RainbowText>-branch) and a query parameter (?ref=preview-<RainbowText>deployments</RainbowText>). These are within markdown link URLs where the component won't be evaluated, producing broken anchor links and malformed query parameters.

Additional Locations (1)

Fix in Cursor Fix in Web

3. In the **Password Protection** section, enter a secure password

After you enter a password, your site redeploys. When it finishes deploying, anyone who visits your site must enter the password to access your content.
After you enter a password, your site re<RainbowText>deploys</RainbowText>. When it finishes <RainbowText>deploying</RainbowText>, anyone who visits your site must enter the password to access your content.
Copy link

Choose a reason for hiding this comment

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

RainbowText splits "redeploys" into two visual fragments

Medium Severity

The word "redeploys" is split as re<RainbowText>deploys</RainbowText>, rendering "re" in normal text and "deploys" with rainbow styling. This creates an awkward visual break in the middle of a word, where "re" appears unstyled and disconnected from the rainbow-styled "deploys". This occurs three times in the file.

Additional Locations (2)

Fix in Cursor Fix in Web

- `checks`: Create status checks on pull requests
- `code`: Read file changes when you commit to your docs branch
- `deployments`: Generate preview deployments for pull requests
- `<RainbowText>deployments</RainbowText>`: Generate preview <RainbowText>deployments</RainbowText> for pull requests
Copy link

Choose a reason for hiding this comment

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

RainbowText inside backtick inline code shows raw markup

High Severity

<RainbowText> is placed inside backtick-delimited inline code: `<RainbowText>deployments</RainbowText>`. Backticks render content as literal code text, so users will see the raw component markup <RainbowText>deployments</RainbowText> instead of the permission name deployments. This is a GitHub App permission scope name that needs to remain as plain inline code.

Fix in Cursor Fix in Web

When you work on your <RainbowText>deployment</RainbowText> branch, your changes save automatically.

<Frame caption="Changes on a deployment branch.">
<Frame caption="Changes on a <RainbowText>deployment</RainbowText> branch.">
Copy link

Choose a reason for hiding this comment

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

RainbowText in JSX string attributes shows raw markup

Medium Severity

<RainbowText> is placed inside JSX string attributes like caption= and alt=, e.g. caption="Changes on a <RainbowText>deployment</RainbowText> branch.". JSX string attributes don't evaluate embedded components — they're plain strings — so the literal markup text appears in captions and alt text instead of just the word "deployment".

Additional Locations (1)

Fix in Cursor Fix in Web

</Note>

## Live preview versus preview deployments
## Live preview versus preview <RainbowText>deployments</RainbowText>
Copy link

Choose a reason for hiding this comment

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

Missing RainbowText snippet import causes undefined component

High Severity

editor/live-preview.mdx uses <RainbowText> on three lines but never includes the <Snippet file="snippets/rainbow-text.mdx" /> import that defines the component. Every other modified file in this PR adds the snippet import, but this file was missed. The RainbowText component will be undefined, likely causing a build failure or rendering the raw component tags as text.

Fix in Cursor Fix in Web

@ethanpalm ethanpalm closed this Feb 6, 2026
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.

1 participant