Documentation Index
Fetch the complete documentation index at: https://docs.tuturuuu.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisite: You should have Docker and Bun
installed, and the Tuturuuu
Monorepo cloned locally.
http://localhost:3000.
To stop the stack:
Custom Ports
The docs stack exposes port3000 by default through ${DOCS_PORT:-3000} in
docker-compose.docs.yml. You can use the --port flag to customize the
host-side port binding. For example:
Runtime Details
- The docs image is defined in
apps/docs/Dockerfile. - The development stack is defined in
docker-compose.docs.yml. - The root command wrapper lives in
scripts/docker-docs.js. - The container pins the runtime to Node.js 24 and installs Mintlify inside the image.
Writing Documentation
File Structure
Each documentation file should follow this structure:Content Guidelines
- Use clear headings to structure your content
- Include code examples with proper syntax highlighting
- Add cross-references to related documentation
- Keep content up-to-date by updating the
updatedAtfield - Use consistent formatting throughout
Code Examples
When including code examples:- Use proper syntax highlighting
- Include TypeScript types
- Show both server and client examples
- Include error handling
- Test examples before committing
Images and Assets
- Store images in the
images/directory - Use descriptive filenames
- Optimize images for web
- Include alt text for accessibility
Contributing
Before You Start
- Check if documentation already exists
- Look for similar patterns in existing docs
- Follow the established structure
- Read the Organization Guide for structure
Making Changes
- Create a branch for your documentation changes
- Write clear, concise content that’s easy to understand
- Include practical examples that developers can use
- Update related documentation if needed
- Test your changes locally with
bun dev:docs
Review Process
- Self-review your changes for clarity and accuracy
- Check links to ensure they work correctly
- Verify code examples are correct and complete
- Update the table of contents if adding new sections
- Submit a pull request with a clear description
Best Practices
Writing Style
- Be concise but comprehensive
- Use active voice when possible
- Write for your audience (developers)
- Include context for complex topics
- Use consistent terminology throughout
Organization
- Group related content together
- Use clear section headings
- Include a table of contents for long pages
- Cross-reference related documentation
- Keep examples practical and realistic
Maintenance
- Update documentation when APIs change
- Remove outdated information promptly
- Keep examples current with latest versions
- Review documentation regularly for accuracy
- Ask for feedback from other developers