Contributions to FANS are most welcome! Please refer to the steps below for more details.
We maintain a CHANGELOG.md
where all major changes and contributions are entered.
-
Fork and Clone: Fork the repository on GitHub and clone your fork locally.
git clone https://github.com/your-username/FANS.git cd FANS
-
Create a Branch: Create a branch for your work, using a descriptive name.
git checkout -b feature/my-feature
-
Make Changes: Implement your changes, adhering to the Code Style Guidelines.
-
Write Tests: Ensure new features or bug fixes are covered by tests.
-
Commit and Push: Commit your changes with a clear message, then push to your fork.
git add . git commit -m "Describe your changes" git push origin feature/my-feature
-
Create a Pull Request: Open a pull request to the
develop
branch. Include relevant details, such as the issue being fixed or the feature being added.
- C++ Standard: Use C++17 or later.
- Indentation: 4 spaces, no tabs.
- Naming:
- Functions:
camelCase
- Classes:
PascalCase
- Variables:
snake_case
- Constants:
ALL_CAPS
- Functions:
- Documentation: Use Doxygen-style comments.
main
: Latest stable release.develop
: Active development. Base your feature branches offdevelop
.- Feature branches: Branch off
develop
and submit pull requests back todevelop
. - Release branches: Merged into
main
for new releases.