Comprehensive documentation for Joyfill SDKs across all platforms, built with Mintlify.
This repository contains the complete documentation for:
- iOS SDK - Native Swift SDK for iOS applications
- Kotlin SDK - Native SDK for Android applications
- React Native SDK - Cross-platform mobile SDK
- Web SDK - JavaScript/TypeScript SDK for web applications
- Node.js 18+ installed
- Mintlify CLI installed globally
# Install Mintlify CLI
npm i -g mint
# Clone the repository
git clone https://github.com/VishnuBishnoi/docs.git mintlify-joyfill-docs
cd mintlify-joyfill-docsRun the documentation site locally:
mint devThe site will be available at http://localhost:3000
mintlify-joyfill-docs/
├── docs.json # Main configuration file
├── index.mdx # Homepage
├── logo/ # Joyfill logos (light & dark)
├── ios/ # iOS SDK documentation
│ ├── introduction.mdx
│ ├── getting-started/
│ ├── guides/
│ ├── api-reference/
│ ├── changelogs/
│ └── about/
├── kotlin/ # Kotlin SDK documentation
│ └── [same structure as iOS]
├── react-native/ # React Native SDK documentation
│ └── [same structure as iOS]
└── web/ # Web SDK documentation
└── [same structure as iOS]
Update docs.json to customize:
- Colors (
colorsobject) - Logo (
logoobject) - Navigation (
navigationobject) - Footer (
footerobject)
- Create a new
.mdxfile in the appropriate SDK folder - Add the page to
docs.jsonnavigation - Test locally with
mint dev
---title: "Your Page Title"description: "Page description for SEO"icon: "icon-name"---# Page Content
Your markdown content here...Mintlify supports enhanced MDX with:
- Cards -
<Card>components for features - Code Blocks - Syntax-highlighted code examples
- Tabs -
<Tabs>for multi-platform examples - Accordions - Collapsible content sections
- Notes/Tips/Warnings - Callout components
Always provide code examples for each SDK:
<CodeGroup>
```swift iOS
let config =JoyfillFormConfig(
mode: .fill,
templateId: "template_id"
)
``````kotlin Android
val config =JoyfillFormConfig(
mode =FormMode.FILL,
templateId ="template_id"
)
```
</CodeGroup>Main configuration file containing:
- Site metadata
- Theme colors
- Navigation structure
- SDK tabs
- Footer links
- Social links
{
"tab": "iOS SDK",
"groups": [
{
"group": "Getting Started",
"pages": [
"ios/introduction",
"ios/getting-started/installation"
]
}
]
}- Push your changes to GitHub
- Go to Mintlify Dashboard
- Connect your GitHub repository
- Enable automatic deployments
Changes pushed to the main branch will automatically deploy to production.
# Build the site
mint build
# The built site will be in the .mintlify directoryAdd analytics to track documentation usage:
{
"analytics": {
"ga4": {
"measurementId": "G-XXXXXXXXXX"
}
}
}- Create a branch for your changes
- Add or update
.mdxfiles - Test locally with
mint dev - Submit a pull request
- Use clear, concise language
- Include code examples for every concept
- Add visual elements (cards, diagrams)
- Link related pages
- Keep examples simple and functional
✅ Simpler configuration (JSON vs JavaScript) ✅ Built-in components (Cards, Tabs, etc.) ✅ Beautiful UI out of the box ✅ Fast deployment ✅ Less code to maintain
✅ More customization options ✅ React-based (more flexible) ✅ Larger ecosystem ✅ Self-hostable ✅ More control over styling
mint update # Update to latest CLI version
mint dev # Try again- Check that the file exists
- Verify path in
docs.jsonnavigation - Ensure
.mdxextension
- Use Font Awesome icon names
- Check available icons
- Email: support@joyfill.io
- GitHub: github.com/joyfill
- Website: joyfill.io
Built with ❤️ using Mintlify