mirror of
https://github.com/Viren070/tmdb-addon.git
synced 2025-12-01 23:18:11 +01:00
42d40c1b32
- Rewrite README.md with improved structure and markdown formatting - Add detailed documentation files: - self-hosting.md: Complete guide for deployment (#66) - development.md: Development setup and workflow - contributing.md: Contribution guidelines - api.md: API endpoints and usage The documentation now includes: - Clear local development setup instructions - Detailed deployment guides (Docker and manual) - Step-by-step environment configuration - API reference with examples - Development workflow guidelines - Troubleshooting sections - Best practices and code examples Closes #66
3.2 KiB
3.2 KiB
Contributing Guide
Thank you for your interest in contributing to the TMDB Addon! This document provides guidelines and instructions for contributing to the project.
Code of Conduct
By participating in this project, you agree to abide by our Code of Conduct. Please read it before contributing.
How Can I Contribute?
Reporting Bugs
- Check if the bug has already been reported in the Issues section
- If not, create a new issue using the bug report template
- Include:
- Clear title and description
- Steps to reproduce
- Expected behavior
- Actual behavior
- Screenshots if applicable
- Your environment details
Suggesting Enhancements
- Check if the enhancement has been suggested in the Issues section
- If not, create a new issue using the feature request template
- Include:
- Clear title and description
- Use case
- Proposed solution
- Alternative solutions considered
Pull Requests
-
Fork the repository
-
Create a new branch:
git checkout -b feature/your-feature -
Make your changes
-
Run tests and linting:
npm test npm run lint -
Commit your changes:
git commit -m "feat: add some feature"We use Conventional Commits specification.
-
Push to your fork:
git push origin feature/your-feature -
Open a Pull Request
Commit Message Guidelines
We follow the Conventional Commits specification:
feat:- A new featurefix:- A bug fixdocs:- Documentation changesstyle:- Code style changes (formatting, etc)refactor:- Code changes that neither fix bugs nor add featuresperf:- Performance improvementstest:- Adding or modifying testschore:- Changes to build process or auxiliary tools
Example:
feat: add support for custom catalogs
- Add catalog interface
- Implement catalog registration
- Add documentation
Development Process
-
Pick an Issue:
- Look for issues labeled
good first issueorhelp wanted - Comment on the issue to let others know you're working on it
- Look for issues labeled
-
Development:
- Follow the Development Guide
- Keep changes focused and atomic
- Add tests for new features
-
Code Review:
- All submissions require review
- Be open to feedback and suggestions
- Respond to comments promptly
Style Guide
- Follow the existing code style
- Use TypeScript for type safety
- Write meaningful comments
- Keep functions small and focused
- Use descriptive variable names
Testing
- Write tests for new features
- Ensure all tests pass before submitting
- Include both unit and integration tests
- Test edge cases
Documentation
- Update documentation for new features
- Include JSDoc comments for functions
- Update README if necessary
- Add examples when helpful
Need Help?
- Check the Development Guide
- Look through closed issues for similar problems
- Ask questions in the discussions section
- Join our community chat
Recognition
Contributors will be recognized in:
- The project's README
- Release notes
- Our contributors page
Thank you for contributing to TMDB Addon!