@devries-cameron20 / composio-1 / commits / 857810d0d
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix(docs): stop quickstart intro from rendering nested <p> (#4704)

## Summary The Quickstart intro block rendered `<p class="mb-6"><p>…</p></p>`. The text sat on its own lines inside `<p className="mb-6">`, so MDX wrapped it in a second paragraph. Browsers don't allow a `<p>` inside a `<p>`, so they split the server HTML apart. React then failed hydration and rebuilt the page on the client on every visit. The page now renders `<div class="mb-6"><p>…</p></div>` with the same 24px spacing, and hydrates without errors. Designated PR reviewer: [@jkomyno](mailto:alberto@composio.dev). Fixes #4703 ## Changes - `docs/content/docs/quickstart.mdx`: the intro wrapper is a `<div className="mb-6">` instead of a `<p>`. A `<div>` stays valid if the text is later rewrapped. - `docs/tests/static/content.test.ts`: a new content check compiles every page under `content/` with `@mdx-js/mdx` and fails when the rendered tree has a `<p>` inside a `<p>`. Code examples aren't flagged, and tags that span several lines are caught. It flags `docs/quickstart.mdx:12` without the fix. The Quickstart was the only affected page. - `docs/package.json`, `docs/bun.lock`: declare `@mdx-js/mdx@^3.1.1` as a devDependency for that check. It's the version `fumadocs-mdx` already resolves, so nothing new is installed. ## Type of change - [x] Bug fix - [ ] New feature - [ ] Refactor/Chore - [x] Documentation - [ ] Breaking change ## Checklist - [x] I have read the Code of Conduct and this PR adheres to it - [x] I have read and understand every line of this diff, including any LLM-generated code - [x] Any third-party docs links or promotional content follow the [third-party links policy](https://github.com/ComposioHQ/composio/blob/next/CONTRIBUTING.md#third-party-links-in-docs) - [x] I ran linters/tests locally and they passed - [x] I updated documentation as needed - [x] I added tests or explain why not applicable - [x] I added a changeset if this change affects published packages

Brendan O'Leary committed Oct 1, 2026 at 12:24 UTC 857810d0dafed9fcf04f824e233c97125c928ff2

No changes.