Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.69 KB

CONTRIBUTING.md

File metadata and controls

37 lines (31 loc) · 1.69 KB

Contributing Guidelines

The general workflow for contributing to this project is as follows:

  1. Create a new branch for your contribution.
  2. Make sure your branch is up-to-date git pull upstream main
  3. Make your changes.
  4. Update the documentation, tests, and changelog if necessary.
  5. Push your changes to your fork.
  6. Submit a pull request through GitHub.

Setup

To interact with the project, you will need to install some dependencies and configure git.

  1. Install git
  2. Install Manim dependencies
    • Note: You do not need to install Manim itself (Poetry will handle that).
  3. Install Poetry
  4. Fork the project.
  5. Clone your fork git clone <my-fork-url>.
  6. Add the upstream repository. git remote add upstream https://github.com/ufosc/manim-data-structures/
  7. Install project dependencies. poetry install
  8. Install Pre-Commit. poetry run pre-commit install
  9. Ensure that the poetry virutal environment is loaded by running poetry shell (some IDEs have a setting to do so automatically).

Fetch the latest code from upstream

git checkout dev
git pull upstream dev
git push origin dev

Initiate a PR

Once you have finalized your contribution, navigate to this link to create a new pull request and submit it.

Closing note

Once your PR is approved, it will be merged into the dev branch and we are looking at eventually merging upstream.

Thanks for contributing 😁!