Skip to content

docs(improve): fix MDX parse error from wrapped code span - #1165

Merged
LinuxDevil merged 1 commit into
mainfrom
docs/fix-improve-code-span
Nov 14, 2026
Merged

LinuxDevil merged 1 commit into
mainfrom
docs/fix-improve-code-span

Conversation

@LinuxDevil

Copy link
Copy Markdown
Owner

Summary

  • docs/improve.md wrapped the inline code span `--proposers <1-4>` across a line break, leaving <1-4> at a line start.
  • The Mintlify sync in agent-sdk-docs parses that as a JSX element and fails the docs build (Unexpected character '1' before name).
  • Rewraps the paragraph so the code span stays on one line; llms-full.txt regenerated.

Test plan

  • npm run docs:llms regenerated cleanly
  • agent-sdk-docs mint validate passes after re-sync

Generated with Devin

The wrapped inline code put `<1-4>` at a line start, which MDX parses as a
JSX element and fails the Mintlify build in agent-sdk-docs.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@LinuxDevil
LinuxDevil merged commit 8c0a980 into main Nov 14, 2026
7 checks passed
@LinuxDevil
LinuxDevil deleted the docs/fix-improve-code-span branch November 14, 2026 20:00
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