Thank you for your interest in contributing! This repository contains markdown copies of the official Affinity API documentation.
If you notice discrepancies between this documentation and the official Affinity documentation:
- Verify against the official documentation
- Open an issue describing:
- What you found
- Link to official documentation
- Suggested fix (if applicable)
-
Fork the repository
-
Create a branch for your changes
-
Make your changes
-
Ensure pre-commit hooks pass:
pip install pre-commit pre-commit install pre-commit run --all-files
-
Run tests:
pytest tests/ -m "not integration" -
Submit a pull request
- Python: Follow PEP 8, use type hints, format with black
- Markdown: Follow markdownlint rules (configured in
.markdownlint.json) - YAML: Follow yamllint rules (configured in
.yamllint.yml)
Pre-commit hooks will automatically check and fix formatting issues.
- Keep documentation accurate and up-to-date
- Follow existing formatting conventions
- Ensure all links work
- Maintain consistency with official Affinity documentation
Note: This repository uses automated GitHub Actions to sync with official documentation. Manual updates may be overwritten by automated updates. If you need to make manual changes:
- Open an issue first to discuss
- Coordinate with maintainers
- Ensure changes align with automated update process
- Open an issue for questions or discussions
- Check existing documentation in
docs/development/ - Review Testing Guide and Pre-commit Guide
See Testing Guide for development setup instructions.
- Be respectful and constructive
- Focus on improving documentation quality
- Follow GitHub's Community Guidelines