| title | Developer Guide |
|---|---|
| layout | docs |
<<<<<<< 6ee666bf06d5ab59931100b3955779c35693e33f
-
Make sure you have signed the CLA
-
Fork the repository.
We follow the "Fork and Pull" model as described here.
-
Clone your fork:
git clone http://github.com/<your_username>/document-api-python
-
Run the tests to make sure everything is peachy:
python setup.py test -
Set up the feature, fix, or documentation branch.
It is recommended to use the format issue#-type-description (e.g. 13-fix-connection-bug) like so:
git checkout -b 13-feature-new-stuff
-
Code and commit!
Here's a quick checklist for ensuring a good pull request:
- Only touch the minimal amount of files possible while still accomplishing the goal.
- Ensure all indentation is done as 4-spaces and your editor is set to unix line endings.
- The code matches PEP8 style guides. If you cloned the repo you can run
pycodestyle . - Keep commit messages clean and descriptive. If the PR is accepted it will get 'Squashed' into a single commit before merging, the commit messages will be used to generate the Merge commit message.
-
Add tests.
All of our tests live under the
test/folder in the repository.
We useunittestand the built-in test runnerpython setup.py test.
If a test needs a static file, like a twb/twbx, it should live undertest/assets/ -
Update the documentation.
Our documentation is written in markdown and built with Jekyll on Github Pages. All of the documentation source files can be found in
docs/docs.When adding a new feature or improving existing functionality we may ask that you update the documentation along with your code.
If you are just making a PR for documentation updates (adding new docs, fixing typos, improving wording) the easiest method is to use the built in
Edit this filein the Github UI -
Submit to your fork.
-
Make a PR as described here against the 'development' branch.
-
Wait for a review and address any feedback. While we try and stay on top of all issues and PRs it might take a few days for someone to respond. Politely pinging the PR after a few days with no response is OK, we'll try and respond with a timeline as soon as we are able.
-
That's it! When the PR has received 🚀's from members of the core team they will merge the PR