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