Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

Description

Fixed pre-commit formatting issues in three MDX documentation files that were blocking commits:

  • pages/home/pyth-token.mdx
  • pages/price-feeds/use-real-time-data/pull-integration/starknet.mdx
  • pages/price-feeds/use-real-time-data/pull-integration/ton.mdx

Changes made:

  1. Removed trailing whitespace in starknet.mdx and ton.mdx
  2. Applied prettier formatting (changed import quotes from single to double in pyth-token.mdx)
  3. Reformatted code blocks in Tabs components (starknet.mdx and ton.mdx) to match prettier requirements

⚠️ Important for Review: The prettier auto-formatting changed the code blocks inside Tabs from multi-line to single-line format. While pre-commit and linting pass, please verify that:

  • The installation command tabs still render correctly on both pages
  • The code blocks display properly in the browser
  • This formatting is consistent with project standards

Type of Change

  • Fix typo/grammar
  • Other: Pre-commit formatting fixes

Areas Affected

  • pages/home/pyth-token.mdx - Import statement formatting
  • pages/price-feeds/use-real-time-data/pull-integration/starknet.mdx - Tabs component code blocks
  • pages/price-feeds/use-real-time-data/pull-integration/ton.mdx - Tabs component code blocks

Checklist

  • I ran pre-commit run --all-files to check for linting errors
  • All links are valid and working
  • Content follows the established style guide
  • Changes are properly formatted in Markdown
  • Preview renders correctly in development environment (needs visual verification)

Related Issues

Resolves the pre-commit failures mentioned in Slack #developer-relations

Additional Notes

The prettier formatting appears to prefer single-line code blocks within Tabs components. This is the main functional change to review - please ensure this renders correctly in the browser before merging.

Contributor Information

… ton.mdx

- Fix trailing whitespace in starknet.mdx and ton.mdx
- Apply prettier formatting to all three files
- Update import quotes to use double quotes in pyth-token.mdx
- Reformat code block formatting in starknet.mdx and ton.mdx tabs

Co-Authored-By: Jayant <[email protected]>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@vercel
Copy link

vercel bot commented Oct 14, 2025

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

Project Deployment Preview Comments Updated (UTC)
docs Ready Ready Preview Comment Oct 14, 2025 7:29pm
documentation Error Error Oct 14, 2025 7:29pm

The previous prettier formatting put code blocks on a single line with
the opening tag, which broke MDX parsing. This commit fixes the issue
by ensuring code blocks are on separate lines within Tabs.Tab
components, following the pattern used elsewhere in the codebase.

Co-Authored-By: Jayant <[email protected]>
@jayantk jayantk merged commit 8ea98da into main Oct 14, 2025
4 of 5 checks passed
@jayantk jayantk deleted the devin/1760469602-fix-pre-commit-formatting branch October 14, 2025 19:31
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