Skip to Content

Contributing to FiveM Docs

Thank you for contributing to FiveM Docs! This document provides guidelines for contributing.

Getting Started

  1. Fork the repository
  2. Clone your fork
  3. Install dependencies: pnpm install
  4. Create a branch: git checkout -b my-feature
  5. Make your changes
  6. Test locally: pnpm dev
  7. Commit your changes
  8. Push to your fork
  9. Open a Pull Request

Writing Guidelines

Page Structure

Every page should include:

Code Blocks

OS-Aware Content

Use the OsPicker component for OS-specific instructions:

<OsPicker> <OsPicker.Linux>Linux-specific content</OsPicker.Linux> <OsPicker.Windows>Windows-specific content</OsPicker.Windows> </OsPicker>

Code Quality

Pull Request Process

  1. Update documentation if needed
  2. Add tests if applicable
  3. Ensure all checks pass
  4. Request review from maintainers
  5. Address feedback
  6. Merge after approval

Questions?

Open an issue or contact maintainers.