Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

contributing.md 2.1KB

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