We welcome contributions from the community! Please read the following guidelines to help us make the contribution process smooth and effective.
If you find a bug or an issue, please open an issue in the issue tracker and include as much detail as possible.
- Search for existing issues before creating a new one to avoid duplicates.
- Provide detailed steps to reproduce the bug.
- Include logs or screenshots if applicable.
We're always looking to improve the STJ format. To suggest a new feature:
- Open an issue with the title starting with
Feature Request:
. - Provide a detailed explanation of the feature.
- Explain the benefits and potential drawbacks.
We appreciate your desire to contribute code to the project. Please follow these steps:
-
Fork the Repository: Click the 'Fork' button in the GitHub repository and clone your fork locally.
git clone https://github.com/<your-username>/STJ.git
-
Create a New Branch: Use a descriptive branch name.
git checkout -b feature/your-feature-name
-
Make Changes: Implement your changes, following the coding guidelines.
-
Add Tests: Ensure that your code is covered by unit tests where applicable.
-
Commit Changes: Write clear and concise commit messages.
git commit -am "Add feature X that does Y"
-
Push to Your Fork:
git push origin feature/your-feature-name
-
Open a Pull Request: Go to the original repository and open a pull request from your branch.
- Provide a clear description of your changes.
- Reference related issues if applicable.
- Ensure that all checks pass before requesting a review.
- Python:
- Follow PEP 8 style guidelines.
- Use meaningful variable and function names.
- JavaScript:
- Follow Airbnb JavaScript Style Guide or the existing code style.
- Formatting:
- Consistently use either tabs or spaces (spaces are preferred).
- Ensure code is properly indented and formatted.
- File Naming:
- Use lowercase letters and underscores
_
for file names.
- Use lowercase letters and underscores
- Comments:
- Write clear comments explaining non-trivial code.
- Use docstrings for functions and classes.
- Documentation:
- Update or add documentation in the
docs/
directory if applicable. - Ensure that any API changes are reflected in the API Reference.
- Update or add documentation in the
- Unit Tests:
- Write unit tests for new features or bug fixes.
- Place tests in the appropriate directory under
tests/
.
- Test Coverage:
- Aim for high test coverage to ensure code reliability.
- Running Tests:
- Ensure that all tests pass before submitting.
- Style:
- Use the present tense (e.g., "Add feature" not "Added feature").
- Be descriptive but concise.
- Format:
- Start with a short summary (50 characters max).
- Leave a blank line.
- Provide additional details if necessary.
- References:
- Reference relevant issues (e.g.,
Fixes #123
).
- Reference relevant issues (e.g.,
By contributing, you agree that your contributions will be licensed under the MIT License.
Please note that this project adheres to a Code of Conduct. By participating, you are expected to uphold this code.
If you have any questions, feel free to reach out by opening an issue or contacting the maintainers directly.
- Project Repository: STJ GitHub Repo
Thank you for your interest in contributing!