Thank you for your interest in contributing to LightRFT! This guide will help you get started.
- 🐛 Report Bugs: Open an issue with detailed reproduction steps
- 💡 Suggest Features: Propose new features or improvements
- 📝 Improve Documentation: Fix typos, add examples, clarify instructions
- 🔧 Submit Code: Implement features, fix bugs, optimize performance
- ✅ Write Tests: Add test cases for better coverage
- 🌍 Translate: Help translate documentation
-
Fork the Repository
git clone https://github.com/yourusername/LightRFT.git cd LightRFT -
Install Development Dependencies
pip install -r requirements.txt pip install -r requirements-doc.txt # For documentation pip install -e . # Editable install
-
Create a Branch
git checkout -b feature/your-feature-name
- Follow PEP 8 for Python code
- Use meaningful variable and function names
- Add docstrings to all public functions/classes
- Keep functions focused and modular
-
Before Submitting:
- Test your changes thoroughly
- Update documentation if needed
- Add tests for new features
- Ensure all tests pass
-
Submit PR:
- Write a clear PR title and description
- Reference related issues (e.g., "Fixes #123")
- Request review from maintainers
-
After Submission:
- Respond to review feedback
- Make requested changes
- Keep PR updated with main branch
Documentation is built with Sphinx:
# Build documentation
make docs
# Live preview
make docs-live- Open a GitHub Issue
- Join our discussions
- Check the FAQ
Thank you for contributing to LightRFT! 🎉