First off, thanks for taking the time to contribute! 🎉
DocForge is a portfolio project, but I welcome contributions from the community. Whether it's fixing a bug, improving documentation, or adding a cool new feature, your help is appreciated.
Fork the repository to your own GitHub account and clone it locally:
git clone https://github.com/YOUR_USERNAME/docforge-api.git
cd docforge-apiCreate a new branch for your feature or fix:
git checkout -b feature/amazing-new-feature
# or
git checkout -b fix/annoying-bug- Write clean, readable code.
- Follow the existing coding style (check
.editorconfigif available, or just match the existing code). - Add tests for any new functionality.
- Ensure all existing tests pass.
We use Conventional Commits for commit messages. This helps us generate changelogs and keep history clean.
Format: <type>(<scope>): <description>
Examples:
feat(auth): add google oauth supportfix(pdf): resolve rendering issue with custom fontsdocs: update setup instructionsstyle: fix indentation in template editorrefactor: simplify document generation service
Types:
feat: A new featurefix: A bug fixdocs: Documentation only changesstyle: Changes that do not affect the meaning of the code (white-space, formatting, etc)refactor: A code change that neither fixes a bug nor adds a featureperf: A code change that improves performancetest: Adding missing tests or correcting existing testschore: Changes to the build process or auxiliary tools and libraries
Push your changes to your fork and open a Pull Request against the main branch of this repository.
git push origin feature/amazing-new-featureSee the README.md for detailed setup instructions using Docker or local environment.
If you find a bug, please open an issue and include:
- A clear description of the bug
- Steps to reproduce
- Expected vs actual behavior
- Screenshots (if applicable)
- Environment details (OS, browser, etc.)
By contributing, you agree that your contributions will be licensed under its MIT License.