Skip to content

docs: clarify MDX escaping and standalone-page navigation pattern#6097

Open
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/dcf96486
Open

docs: clarify MDX escaping and standalone-page navigation pattern#6097
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/dcf96486

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Jun 5, 2026

Summary

Address two recurring documentation gaps surfaced by recent assistant conversations: how to escape MDX special characters, and how to place a standalone page (such as an overview) above other groups in the sidebar.

Changes

  • create/text.mdx: Add an "Escape special characters" section covering {, }, <, backticks, and backslashes, with a note that escaping is not required inside fenced code blocks.
  • organize/navigation.mdx: Add a "Mix standalone pages with groups" subsection showing how to wrap navigation in a single top-level group whose pages array mixes string page paths with nested group objects, and cross-link to the existing root page pattern.

Context

Recent assistant threads showed users asking how to escape variables in MDX (no current docs coverage) and how to place an overview link above a list of groups in the sidebar (a thread that received negative feedback because the answer was not clearly documented).


Note

Low Risk
Documentation-only MDX changes with no runtime, auth, or config behavior impact.

Overview
Adds documentation for two common author questions: how to show MDX special characters as literal text, and how to pin a standalone overview link above nested sidebar groups.

In create/text.mdx (plus es and fr locales), a new Escape special characters section explains why {, }, and < are parsed as JSX, lists escape options (backticks, HTML entities, JSX string expressions), and notes that fenced code blocks do not require escaping.

In organize/navigation.mdx (en, es, fr), a new Mix standalone pages with groups subsection documents wrapping nav in one top-level group whose pages array interleaves a string path (e.g. overview) with nested group objects, with a sample docs.json and a pointer to the existing root page pattern.

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

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Jun 5, 2026

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

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Jun 5, 2026, 4:27 PM

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Jun 5, 2026

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

Project Status Preview Updated (UTC)
smartac 🟢 Ready View Preview Jun 5, 2026, 4:34 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Jun 5, 2026

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

Project Status Preview Updated (UTC)
testsignup415 🟢 Ready View Preview Jun 5, 2026, 4:45 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Jun 5, 2026

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

Project Status Preview Updated (UTC)
adminroletesting 🟢 Ready View Preview Jun 5, 2026, 4:52 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Jun 5, 2026

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

Project Status Preview Updated (UTC)
hfh-d7a4d643 🟢 Ready View Preview Jun 5, 2026, 4:56 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Jun 5, 2026

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

Project Status Preview Updated (UTC)
gwgwgw 🟢 Ready View Preview Jun 5, 2026, 4:58 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Jun 5, 2026

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

Project Status Preview Updated (UTC)
tomee 🟢 Ready View Preview Jun 5, 2026, 5:01 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

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