Thank you for considering contributing to zvdk! This document provides guidelines and instructions for contributing.
Please be respectful and considerate of others when contributing to this project. Harassment or abusive behavior will not be tolerated.
Before submitting a bug report:
- Check if the bug has already been reported in the Issues section
- Make sure you're using the latest version of the library
- Determine if the issue is truly a bug and not an expected behavior
When submitting a bug report, please include:
- A clear and descriptive title
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- Your environment (OS, Zig version, etc.)
- Any relevant logs or screenshots
Enhancement suggestions are always welcome. Please include:
- A clear and descriptive title
- A detailed description of the proposed enhancement
- Any potential implementation details you can provide
- Why this enhancement would be useful to most users
- Fork the repository
- Create a new branch for your feature (
git checkout -b feature/amazing-feature) - Make your changes, following the coding standards
- Ensure all tests pass (
zig build test) - Commit your changes with clear, descriptive commit messages
- Push your branch to your fork
- Submit a pull request
- Update the README.md or documentation with details of changes if needed
- Add tests for new functionality
- Ensure the CI workflow passes
- Wait for review and address any feedback
- Follow the existing code style
- Write tests for new functionality
- Document your code
- Keep functions small and focused
- Use descriptive variable names
- Follow the Zig Style Guide
- Use snake_case for function and variable names
- Use PascalCase for types and structs
- Use descriptive names for functions and variables
- Keep lines under 100 characters when possible
- Use 4 spaces for indentation
- All new code should have associated tests
- Tests should be thorough but concise
- Make sure all tests pass before submitting your pull request
- Consider edge cases in your tests
Thank you for your contributions!