|
| 1 | +# Contributing |
| 2 | + |
| 3 | +Thank you for your interest in contributing to `smart-doc`! For detailed guidelines on how to contribute, please review our official [**Contribution Guide**](https://smart-doc-group.github.io/guide/community/contributing). |
| 4 | + |
| 5 | +## Key Highlights |
| 6 | +Before submitting a Pull Request (PR), please ensure: |
| 7 | +- 📌 **Discuss new features**: Start with an [Issue](https://github.com/smart-doc-group/smart-doc/issues) to align on proposed changes. |
| 8 | +- 🧩 **Single-focused PRs**: Submit one fix or feature per PR to simplify reviews. |
| 9 | +- 🌍 **English comments**: Use English for code comments to support international collaboration. |
| 10 | +- ✅ **Code quality**: Follow the [Spring Java Format](https://github.com/spring-io/java-format) style and add unit tests. |
| 11 | +- 📄 **Update documentation**: Reflect your changes in relevant documentation [`smart-doc-group.github.io`](https://github.com/smart-doc-group/smart-doc-group.github.io/tree/master/docs). if needed. |
| 12 | + |
| 13 | +## Documentation and Examples |
| 14 | +If your contribution involves: |
| 15 | +- 🛠️ **Configuration changes**: |
| 16 | + - Check if your PR adds or modifies configurations (e.g., new parameters, default value updates). |
| 17 | + - Update or add corresponding documentation in the [`smart-doc-group.github.io`](https://github.com/smart-doc-group/smart-doc-group.github.io/tree/master/docs). |
| 18 | +- 📚 **New features**: |
| 19 | + - Provide usage examples in the [`smart-doc-example-cn`](https://github.com/smart-doc-group/smart-doc-example-cn) repository to demonstrate implementation. |
| 20 | + |
| 21 | + |
| 22 | +## How to Contribute |
| 23 | +1. Fork the repository and clone it locally. |
| 24 | +2. Create a new branch for your changes. |
| 25 | +3. Test your modifications using `smart-doc` (see [Quick Start](https://smart-doc-group.github.io/guide/getting-started)). |
| 26 | +4. Format code with `mvn spring-javaformat:apply`. |
| 27 | +5. Submit a PR to the main repository. |
| 28 | + |
| 29 | +## Community Engagement |
| 30 | +- 📰 Share your use cases or articles in the [Discussions](https://github.com/smart-doc-group/smart-doc/discussions) section. |
| 31 | +- ❓ Help answer questions in the `Help` category. |
| 32 | +- 💡 Propose ideas or showcase tools in `Ideas` or `Show and tell`. |
| 33 | + |
| 34 | +Your contributions are vital to making `smart-doc` better for everyone. Thank you! |
0 commit comments