Agent skill sync with docs: fix MDX table of contents fact - #7196
Merged
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
ethanpalm
approved these changes
Aug 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sync the canonical Mintlify agent skill with a corrected fact about the
<MDX>component's table of contents behavior.Changes
agent-context/context/skills/mintlify/reference/components.md: headings inside<MDX>do appear in the page's table of contents, including headings in branches that never render (such as the inactive side of a conditional). The skill previously stated the opposite.Context
components/mdx.mdxin commit df901bb (Documentation quality check: fix gaps in recently updated pages #7190), which reversed the previous claim that<MDX>headings are excluded from the table of contents.npm test,npm run check,npm run build, andgit diff --checkall passed.Note
Low Risk
Documentation-only correction in the agent skill reference; no runtime or security impact.
Overview
Updates the canonical Mintlify agent skill so the
<MDX>notes match current product behavior: headings inside<MDX>do show up in the page table of contents, including headings in conditional branches that are not rendered (e.g. the inactive platform branch).This replaces the previous skill text that incorrectly said those headings are excluded from the TOC, aligning
agent-context/context/skills/mintlify/reference/components.mdwithcomponents/mdx.mdxafter the docs change in #7190.Reviewed by Cursor Bugbot for commit c243b4d. Bugbot is set up for automated code reviews on this repo. Configure here.