Contributing to CodeDox
Thank you for your interest in contributing to CodeDox!
Getting Started
- Fork the repository
- Clone your fork
- Create a feature branch
- Make your changes
- Submit a pull request
Development Setup
# Clone the repo
git clone https://github.com/yourusername/codedox.git
cd codedox
# Set up Python environment
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install -r requirements-dev.txt
# Set up frontend
cd frontend
npm install
cd ..
# Initialize database
python cli.py init
# Run tests
pytest tests/
Code Style
- Python: Follow PEP 8, use Black formatter
- TypeScript: Use Prettier
- No unnecessary comments
- Follow DRY principles
Testing
Run tests before submitting:
Pull Request Process
- Update tests for new features
- Update documentation if needed
- Ensure all tests pass
- Update CHANGELOG.md
- Submit PR with clear description
Reporting Issues
Use GitHub Issues to report bugs or suggest features.
Include: - Clear description - Steps to reproduce - Expected behavior - Actual behavior - System information