First off, thank you for considering contributing to the Advanced Textbook Q&A System! It's people like you that make this project such a great tool for students and researchers alike.
By participating, you are expected to uphold this code. Please report unacceptable behavior to [[email protected]].
- Fork the repository on GitHub
- Clone your fork locally
- Create a new branch for your contribution
- Ensure the bug was not already reported by searching on GitHub under Issues
- If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring.
- Open a new issue with a clear title and detailed description
- Provide specific examples to demonstrate the steps
- Explain why this enhancement would be useful to most users
Unsure where to begin contributing? You can start by looking through these beginner
and help-wanted
issues:
- Beginner issues - issues which should only require a few lines of code, and a test or two.
- Help wanted issues - issues which should be a bit more involved than
beginner
issues.
- Fork the repo and create your branch from
main
- If you've added code that should be tested, add tests
- If you've changed APIs, update the documentation
- Ensure the test suite passes
- Make sure your code lints
- Issue that pull request!
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally after the first line
This project follows the PEP 8 style guide for Python code. Additionally:
- Use 4 spaces for indentation (not tabs)
- Use docstrings for all public modules, functions, classes, and methods
- Keep line length to a maximum of 100 characters
- Use type hints where possible
This project uses the following labels to track and manage issues and pull requests:
bug
: Something isn't workingenhancement
: New feature or requestdocumentation
: Improvements or additions to documentationgood first issue
: Good for newcomershelp wanted
: Extra attention is neededquestion
: Further information is requested
Thank you for contributing to the Advanced Textbook Q&A System!