Welcome to the CUPiD Contributor’s Guide!#
Now that your repository is set up, if you would like to add a diagnostics notebook, you can follow the guide to adding diagnostics notebooks.
In order to contribute code to this repository, we recommend that you get started with these steps:
Open an issue prior to development
Set up git and make an account if needed.
Create your personal fork of the repository by going to the CUPiD repository and clicking the
Fork
button. Clone your personal repository by going to your forked repository, clicking the greenCode
button, and then, in your terminal, rungit clone --recurse-submodules https://github.com/<YOUR GIT USERNAME>/CUPiD
Check out a new branch with a name that is relevant to the changes you want to make:
git checkout -b <BRANCH NAME>
Install CUPiD, relevant environments, and setup
pre-commit
.Make your edits and add your name to our
contributors.md
file to make sure we recognize your contributionsMerge in recent changes from master
Ensure that
pre-commit
checks all pass from thecupid-dev
environmentIF updating
github.io
pages, test with the steps listed below, otherwise proceed to #9:Create the environment necessary for building documentation with
$ conda env create -f environments/docs.yml
Activate the docs environment:
$ conda activate cupid-docs
Change into the
docs
directory:$ cd docs
Build the documentation:
$ make html
View the documentation to make sure it rendered correctly:
$ open _build/html/index.html
Submit a Pull Request
Await review
Update PR with any requested changes
Repository admins will merge the PR