The general workflow for contributing to this project is as follows:
- Create a new branch for your contribution.
- Make sure your branch is up-to-date
git pull upstream main
- Make your changes.
- Update the documentation, tests, and changelog if necessary.
- Push your changes to your fork.
- Submit a pull request through GitHub.
To interact with the project, you will need to install some dependencies and configure git.
- Install git
- Install Manim dependencies
- Note: You do not need to install Manim itself (Poetry will handle that).
- Install Poetry
- Fork the project.
- Clone your fork
git clone <my-fork-url>
. - Add the upstream repository.
git remote add upstream https://github.com/ufosc/manim-data-structures/
- Install project dependencies.
poetry install
- Install Pre-Commit.
poetry run pre-commit install
- Ensure that the poetry virutal environment is loaded by running
poetry shell
(some IDEs have a setting to do so automatically).
git checkout dev
git pull upstream dev
git push origin dev
Once you have finalized your contribution, navigate to this link to create a new pull request and submit it.
Once your PR is approved, it will be merged into the dev
branch and we are looking at eventually merging upstream.
Thanks for contributing 😁!