Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

CONTRIBUTING.md 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. ---
  2. sidebar_position: 0
  3. slug: /contribution_guidelines
  4. ---
  5. # Contribution guidelines
  6. Thanks for wanting to contribute to RAGFlow. This document offers guidlines and major considerations for submitting your contributions.
  7. - To report a bug, file a [GitHub issue](https://github.com/infiniflow/ragflow/issues/new/choose) with us.
  8. - For further questions, you can explore existing discussions or initiate a new one in [Discussions](https://github.com/orgs/infiniflow/discussions).
  9. ## What you can contribute
  10. The list below mentions some contributions you can make, but it is not a complete list.
  11. - Proposing or implementing new features
  12. - Fixing a bug
  13. - Adding test cases or demos
  14. - Posting a blog or tutorial
  15. - Updates to existing documents, codes, or annotations.
  16. - Suggesting more user-friendly error codes
  17. ## File a pull request (PR)
  18. ### General workflow
  19. 1. Fork our GitHub repository.
  20. 2. Clone your fork to your local machine:
  21. `git clone git@github.com:<yourname>/ragflow.git`
  22. 3. Create a local branch:
  23. `git checkout -b my-branch`
  24. 4. Provide sufficient information in your commit message
  25. `git commit -m 'Provide sufficient info in your commit message'`
  26. 5. Commit changes to your local branch, and push to GitHub: (include necessary commit message)
  27. `git push origin my-branch.`
  28. 6. Submit a pull request for review.
  29. ### Before filing a PR
  30. - Consider splitting a large PR into multiple smaller, standalone PRs to keep a traceable development history.
  31. - Ensure that your PR addresses just one issue, or keep any unrelated changes small.
  32. - Add test cases when contributing new features. They demonstrate that your code functions correctly and protect against potential issues from future changes.
  33. ### Describing your PR
  34. - Ensure that your PR title is concise and clear, providing all the required information.
  35. - Refer to a corresponding GitHub issue in your PR description if applicable.
  36. - Include sufficient design details for *breaking changes* or *API changes* in your description.
  37. ### Reviewing & merging a PR
  38. - Ensure that your PR passes all Continuous Integration (CI) tests before merging it.