Contributing to Gx402
We welcome contributions from the community! Whether you’re fixing bugs, adding features, improving documentation, or creating examples, your help makes Gx402 better for everyone.How to Contribute
1. Report Issues
If you find a bug or have a feature request:- Search existing issues to avoid duplicates
- Create a new issue with:
- Clear title and description
- Steps to reproduce (for bugs)
- Expected vs actual behavior
- Platform and version information
2. Contribute Code
Prerequisites
- Git and GitHub account
- Node.js (for documentation and tools)
- Development environment for your target platform
- Understanding of the platform-specific SDK
Getting Started
- Fork the repository you want to contribute to:
-
Clone your fork:
-
Create a feature branch:
- Make your changes following the coding standards
- Test your changes thoroughly
-
Commit your changes:
-
Push to your fork:
- Open a Pull Request in the original repository
3. Improve Documentation
This documentation site is also open source! You can:- Fix typos and improve clarity
- Add examples or tutorials
- Update outdated information
- Add missing platform-specific guides
4. Create Examples
Create and share complete example projects that demonstrate Gx402 features:- Set up a new repository with your example
- Include comprehensive README with setup instructions
- Use best practices for your platform
- Share in our Community Showcase
Development Guidelines
Code Standards
JavaScript/TypeScript
- Use ES6+ features appropriately
- Follow Airbnb JavaScript style guide
- Add JSDoc comments for public functions
- Use TypeScript for type safety
C# (Unity)
- Follow Microsoft C# Coding Conventions
- Use XML documentation comments
- Implement proper error handling
- Follow Unity best practices
C++ (Unreal Engine)
- Follow Unreal Engine coding standards
- Use appropriate memory management
- Include proper module definitions
- Follow Epic Games naming conventions
Swift (iOS)
- Use Swift API Design Guidelines
- Implement proper error handling
- Follow Apple’s Human Interface Guidelines
- Use SwiftLint for style consistency
Kotlin (Android)
- Follow Kotlin Coding Conventions
- Use Android KTX extensions where appropriate
- Implement proper lifecycle management
- Follow Material Design guidelines
Testing Requirements
- Unit Tests: Add tests for new functionality
- Integration Tests: Test SDK integration scenarios
- Cross-Platform Tests: Ensure consistency across platforms
- Performance Tests: Verify performance impact
Pull Request Requirements
When submitting a pull request:- Title: Clear and descriptive
- Description:
- What changes are made
- Why changes are needed
- How changes were tested
- Code Quality: Follow style guidelines
- Documentation: Update relevant docs
- Tests: Include appropriate tests
- Breaking Changes: Clearly note if applicable
Documentation Contributions
Content Guidelines
- Clear and concise: Use simple language
- Well-structured: Follow existing patterns
- Accurate: Test code examples
- Complete: Include all necessary information
- Platform-specific: Note differences between platforms
Writing Style
- Use active voice where possible
- Include examples for each new concept
- Use consistent terminology
- Organize content logically
- Include relevant links
Documentation Structure
Community Standards
Code of Conduct
- Be respectful and inclusive
- Provide constructive feedback
- Welcome newcomers
- Focus on technical quality
- Collaborate effectively
Support Others
- Answer questions in issues
- Review pull requests
- Share knowledge and expertise
- Help maintain documentation
- Contribute to community discussions
Areas Needing Help
Beginner Friendly Issues
Look for issues tagged with:good first issuedocstypoexample
Major Areas of Focus
-
Platform Support
- New platform integrations
- Platform-specific optimizations
- Cross-platform consistency
-
Documentation
- API documentation
- Tutorials and guides
- Platform-specific docs
- Migration guides
-
Examples and Demos
- Complete example projects
- Feature-specific examples
- Cross-platform demonstrations
-
Testing and Quality
- Additional test coverage
- Performance improvements
- Security enhancements
-
Developer Experience
- Tooling improvements
- Error messages
- Debugging tools
- Setup workflows
Getting Help
When Contributing
- Check the existing documentation
- Look at similar implementations
- Ask questions in pull requests
- Join our Discord community for real-time help
For Documentation
- Read the Documentation Guide
- Examine existing pages for structure
- Test code examples locally
- Use
mint devto preview changes
Recognition
Contributors are recognized in:- Repository contributor lists
- Release notes
- Community showcase
- Special contributor badges