您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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