Skip to content

Conversation

@NoyaOffer
Copy link
Contributor

No description provided.

- Convert all <Snippet file="..."> usage to ES6 import statements
- Update 124 files across the documentation
- Use PascalCase component names derived from filenames
- Maintain absolute paths starting with /snippets/
- Preserve all existing content and functionality

This migration aligns with Mintlify's recommended snippet syntax for better
developer experience and standard React/JSX conventions.
- Update all import statements to use correct _snippets directory
- Fix 123 files with incorrect import paths
- Ensure local documentation can find snippet files correctly
- Rename _snippets directory to snippets to match Mintlify expectations
- Revert import paths back to /snippets/ format
- Fix 124 files with corrected import paths
- Ensure local documentation can properly load snippet content
@coderabbitai
Copy link

coderabbitai bot commented Oct 9, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch update-snippet-syntax

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@NoyaOffer NoyaOffer merged commit 38d37a7 into docs Oct 9, 2025
5 of 6 checks passed
@NoyaOffer NoyaOffer deleted the update-snippet-syntax branch October 9, 2025 14:17
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.

2 participants