Skip to content

Conversation

@mintlify
Copy link
Contributor

@mintlify mintlify bot commented Dec 17, 2025

Updated documentation to clarify the new snippets anywhere feature. Users can now configure custom snippet locations using glob patterns in docs.json while the default /snippets/ folder remains supported.

Files changed:

  • create/reusable-snippets.mdx - Updated section title and added explanation of custom snippet patterns with examples

Generated from [ENG-4658] - Snippets anywhere @k-finken


Note

Clarifies that snippets can be placed anywhere via docs.json glob patterns while keeping the default /snippets/ folder supported.

  • Docs (create/reusable-snippets.mdx):
    • Section rename: Configure snippet foldersConfigure snippet locations.
    • Custom locations: Explain configuring snippet folders/files via docs.json snippets array using glob patterns; default /snippets/ remains supported.
    • Examples: Add JSON config and bullet explanations for components/**, shared/reusable/**, and shared/common-component.mdx.
    • Import guidance: Note absolute/relative imports may start from /snippets/ or custom locations.

Written by Cursor Bugbot for commit c91c722. This will update automatically on new commits. Configure here.

Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
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