Contributing to FiveM Docs
Thank you for contributing to FiveM Docs! This document provides guidelines for contributing.
- Fork the repository
- Clone your fork
- Install dependencies:
- Create a branch:
- Make your changes
- Test locally:
- Commit your changes
- Push to your fork
- Open a Pull Request
Page Structure
Every page should include:
- Title: Clear, task-oriented title
- Description: Brief description in frontmatter
- Prerequisites: What’s needed before starting
- Steps: Clear, numbered steps
- Validation: How to verify success
- Rollback: How to undo changes
- Links: Related pages (minimum 3)
Code Blocks
- All code blocks must have copy buttons (automatic with Nextra)
- Include expected output where relevant
- Use appropriate language tags
- Test all commands on clean systems
OS-Aware Content
Use the component for OS-specific instructions:
- Run before committing
- Run and fix any issues
- Run to verify build succeeds
- All files must be under 300 LOC
- Update documentation if needed
- Add tests if applicable
- Ensure all checks pass
- Request review from maintainers
- Address feedback
- Merge after approval
Open an issue or contact maintainers.