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
Forkbutton. Clone your personal repository by going to your forked repository, clicking the greenCodebutton, and then, in your terminal, rungit clone --recurse-submodules https://github.com/<YOUR GIT USERNAME>/CUPiDCheck 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.mdfile to make sure we recognize your contributionsMerge in recent changes from master
Ensure that
pre-commitchecks all pass from thecupid-infrastructureenvironmentIF updating
github.iopages, test with the steps listed below, otherwise proceed to #9:Create the environment necessary for building documentation with
$ conda env create -f environments/docs.ymlActivate the docs environment:
$ conda activate cupid-docsChange into the
docsdirectory:$ cd docsBuild the documentation:
$ make htmlView 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