Skip to content

Fix MDX syntax error in guide documentation#110

Merged
hotlong merged 2 commits intomainfrom
copilot/check-action-step-logs
Jan 25, 2026
Merged

Fix MDX syntax error in guide documentation#110
hotlong merged 2 commits intomainfrom
copilot/check-action-step-logs

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 25, 2026

CI build failed on main after PR #109 merge due to malformed MDX code block in apps/site/content/docs/guide/index.mdx.

Changes

  • Added missing opening code fence marker for JSX example block (line 310)

Context

The MDX file had a closing fence (```) without an opening fence, causing Turbopack to interpret the JSX code as document content:

 > **Note**: The UI components have been moved to a separate project...
 
+```jsx
 function ContactDetail({ contactId }) {
   return (
     <div>

Error was:

311:11: Unexpected end of file in expression, expected a corresponding closing brace for `{`
Original prompt

引用: https://github.com/objectstack-ai/objectos/actions/runs/21333340012/job/61401428236#step:6:1


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
objectos-site Ready Ready Preview, Comment Jan 25, 2026 1:35pm

Request Review

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Check action step logs for potential issues Fix MDX syntax error in guide documentation Jan 25, 2026
Copilot AI requested a review from hotlong January 25, 2026 13:35
@hotlong hotlong marked this pull request as ready for review January 25, 2026 14:10
Copilot AI review requested due to automatic review settings January 25, 2026 14:10
@hotlong hotlong merged commit a0de851 into main Jan 25, 2026
5 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a critical MDX syntax error in the guide documentation that was causing CI build failures. The error was introduced in PR #109 when a code block's opening fence was missing, causing the MDX parser to misinterpret JSX code as document content.

Changes:

  • Added missing opening code fence marker (````jsx`) for a JSX example block in the guide documentation

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.

3 participants