Contributing to Documentation
The OSSM documentation is built with Mintlify, a modern documentation platform that makes it easy to create beautiful, interactive docs.All changes to the
Documentation/ossm directory are automatically deployed to https://www.researchanddesire.com/ossm after merging to the main branch.Documentation Platform
This documentation uses Mintlify for rendering and deployment. For detailed information about available components, formatting options, and best practices, visit the official Mintlify documentation:Mintlify Documentation
Complete guide to Mintlify features, components, and configuration
Local Development Setup
To preview documentation changes locally before submitting a pull request:Local Preview
Once you have the local server running, you’ll see the full documentation site with navigation, search, and all Mintlify features:
Writing Documentation
MDX Format
All documentation pages use MDX (Markdown + JSX), which allows you to combine standard Markdown with React components for rich, interactive content. Example MDX structure:Image Guidelines
Images should be co-located with the documentation that uses them:React Snippets
For interactive examples and demonstrations, you can embed React components using the snippet system.Snippet Location
All React snippets are stored in:Snippet Requirements
Pure React Only
Pure React Only
Snippets must use pure React with no external frameworks or build tools. The React version is provided by the Mintlify runtime.
TailwindCSS Styling
TailwindCSS Styling
TailwindCSS is included and ready to use for styling. No additional CSS imports needed.
Single Export Rule
Single Export Rule
Each snippet file must have exactly one export or declared function. Multiple exports are not supported.
Example Snippet
Here’s a complete example showing the proper structure:Development Tools
Cursor Rules Included
This project includes Cursor AI rules to help you follow documentation best practices automatically while editing.

