We encourage contributions to reDocs.ai! Here's how you can get involved:
-
Fork the Repository: Before making any changes, create a fork of the reDocs.ai repository on GitHub. This allows you to work on your own copy of the code without affecting the main project.
-
Branch for Your Contribution: Create a new branch for your specific contribution using
git checkout -b <branch-name>
. This helps keep the main branch clean and facilitates reviewing and merging your changes. -
Implement Your Changes: Make your changes to the code, following the project's coding style and best practices. We encourage you to write unit tests for your code to ensure its functionality and stability.
-
Commit Your Changes: Once you're satisfied with your changes, add your changes to your branch and commit them with a descriptive commit message. Additionally make sure to read this doc to follow a similar commit discipline.
-
Create a Pull Request: Create a pull request from your branch to the main branch of the reDocs.ai repository. Be sure to include a detailed description of your changes and any relevant testing results.
-
Respond to Feedback: The maintainers will review your pull request and provide feedback. Be prepared to answer questions, address concerns, and make adjustments to your code as needed.
-
Get Merged!: Once your pull request is approved, it will be merged into the reDocs.ai codebase. Your contributions will be available to everyone using the project!
- Write clear and concise code that follows the project's style guide.
- Include unit tests for your code.
- Document your code with comments and docstrings.
- Follow the
Pull Request Template
when submitting your changes. - Be respectful and collaborative in your communication with other contributors.
- We appreciate your interest in contributing to reDocs.ai!
Please follow this template when submitting a pull request to reDocs.ai:
- Title:
- Keep it concise and descriptive of the changes you made.
- Use the format:
[Feature/Bug Fix/Improvement] - Descriptive title
.
- Description:
- Clearly explain the purpose of your change.
- Include relevant details about the functionality you added, the bug you fixed, or the improvement you implemented.
- Reference any issues your pull request addresses.
- Explain why your changes are necessary and how they benefit the project.
- Checklist:
- I have read and followed the Contributing Guide.
- I have written unit tests for my changes.
- My code follows the project's style guide.
- I have updated the documentation (if applicable).
- I have added a clear and descriptive commit message.
- Screenshots/Videos (optional):
- If your changes involve a visual element, please include screenshots or videos demonstrating the functionality.
- Additional Information:
- Mention any relevant discussions or decisions made regarding your changes.
- Feel free to ask questions or provide additional context if needed.
We encourage contributors to follow a git rebase workflow. This workflow provides several benefits, including:
-
Clean commit history: Rebasing keeps the commit history linear and easy to understand.
-
Prevents conflicts: Rebasing helps avoid merge conflicts that can occur when merging branches.
-
Easier integration: Rebasing ensures your changes are integrated seamlessly with the latest upstream changes.