Thank you for your interest in contributing to motcpp! This document provides guidelines and instructions for contributing.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/motcpp.git - Create a branch:
git checkout -b feature/your-feature-name - Make your changes
- Test your changes:
cmake --build build && ctest - Commit with clear messages
- Push to your fork:
git push origin feature/your-feature-name - Open a Pull Request
- Follow the existing code style
- Use
clang-formatfor formatting (configuration in.clang-format) - Write clear, self-documenting code
- Add comments for complex logic
- Add unit tests for new features
- Ensure all tests pass:
ctest --output-on-failure - Maintain or improve code coverage
- Update relevant documentation files
- Add docstrings for new public APIs
- Update examples if needed
- Ensure your code builds on Linux, macOS, and Windows
- All tests must pass
- Documentation must be updated
- Follow the PR template
- Be responsive to feedback
Open an issue or discussion on GitHub.
Thank you for contributing!