π Quick Start
Prerequisites
- Node.js (v20 or higher)
- Git for version control
- GitHub CLI - Install from cli.github.com
Setup Steps
-
Fork and clone the repository
-
Install dependencies
-
Start the local development server
Your docs will be available at
http://localhost:3000
π¬ Creating Discussions and Issues
Before creating any issues, we ask that you start with a GitHub Discussion. This helps us organize feedback and determine the best path forward.Starting a Discussion
1
Go to GitHub Discussions
Visit the Gobi GitHub Discussions page.
2
Choose the right category
Select the Docs category for documentation improvements, corrections, or suggestions.
3
Provide detailed information
Include the following in your discussion:
- Clear description of the issue or suggestion
- Steps to reproduce (if applicable)
- Expected vs. actual behavior
- Screenshots or code examples when helpful
- Your environment (OS, IDE, Gobi version)
Issue Escalation Process
Important: All issues should start as discussions. The Gobi team will determine if and when a discussion should be escalated to a GitHub issue.
- Provide a solution or clarification directly in the discussion
- Ask for additional information or testing
- Convert the discussion to an issue if it requires code changes or is a confirmed bug
- Close the discussion if itβs resolved or not actionable
When Discussions Become Issues
A discussion will typically be converted to an issue when:- A bug in the documentation is confirmed
- A new feature or significant documentation change is approved
- Community consensus supports the proposed change
- Technical implementation is required
π€ AI-Powered Documentation with Gobi
We strongly encourage using Gobiβs AI assistance to maintain consistency and quality in our documentation. Here are three ways to set this up:Option 1: Use the Pre-Built Documentation Agent (Recommended)
The easiest way to get started is using our pre-configured documentation agent:1
Install the agent from Gobi Hub
Visit the Docs Assistant - Mintlify in the Hub and click βInstallβ to add it to your Gobi setup. This agent comes pre-configured with all our documentation standards.
Learn more about Gobi Configs in our config documentation.
2
Use the agent
- Command Line
- IDE
Option 2: Create Your Own Custom Agent
If you want more control or customization, you can create your own documentation agent:1
Create a new config
Follow our config creation guide to set up your own config.
2
Add the Gobi Docs MCP
Install from Gobi Hub: https://hub.gourmand.dev/gourmand/gobi-docs-mcpThis MCP provides context about Gobiβs documentation structure and standards.
3
Add Mintlify formatting rules
Install from Gobi Hub: https://hub.gourmand.dev/mintlify/technical-writing-ruleThis rule ensures proper Mintlify component formatting.
4
Use your custom agent
- Command Line
- IDE
π Documentation Standards
Mintlify Component Guidelines
When using Mintlify components, follow these formatting rules:Cards and Info Boxes
Warning and Note Components
Writing Style
- Be concise: Get to the point quickly
- Use examples: Show, donβt just tell
- Include code blocks: Provide working examples
- Add visuals: Screenshots and diagrams help understanding
- Test your changes: Ensure all links and code examples work
π§ Common Tasks
Adding a New Guide
- Create a new
.mdxfile in the guides directory - Add frontmatter:
- Use the Gobi agent to help format your content
- Update
docs.jsonto include your new page in the navigation
Updating Existing Documentation
- Use the Gobi agent with prompts like:
- βUpdate the installation guide with the new npm packageβ
- βAdd a troubleshooting section for connection issuesβ
- The agent will maintain consistent formatting automatically
Adding Code Examples
Use language-specific code blocks:π Testing Your Changes
- Local preview: In the docs directory, run
npm run devand check your changes - Link validation: Ensure all internal and external links work
- Format check: Use the Gobi agent to validate Mintlify formatting
- Build test: Run
npm run buildto ensure no build errors
π€ Submitting Your Contribution
-
Create a feature branch
-
Commit your changes
-
Push and create a Pull Request
π‘ Tips for Success
- Use the Gobi agent: It knows our documentation standards and will save you time
- Preview frequently: Check your changes in the local dev server
- Ask questions: Open an issue or discussion if you need clarification
- Small PRs are better: Focus on one topic or fix per PR
- Update examples: Ensure code examples reflect the latest API
π Getting Help
- Start a Discussion: Use GitHub Discussions for documentation issues, suggestions, or questions
- Gobi agent questions: Check the Gobi Hub page
- Discord community: Join our Discord for real-time help
- Existing docs: Review similar pages for formatting examples
Thank you for contributing to Gobi! Your efforts help make our documentation better for everyone. To learn more about contibuting to other parts of the project, check out our main CONTRIBUTING guide π