Skip to content

Commit

Permalink
docs(generic): add doc formatting guidelines based off of pycodestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Jan 4, 2017
1 parent 2f82115 commit 6efa525
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ contributions. They include, but are not limited to:
* Constructive feedback
* [Questions about usage](#questions-about-usage)
* [Bug reports / technical issues](#before-opening-bug-reportstechnical-issues)
* Documentation changes
* [Documentation changes](#documentation-changes)
* Feature requests
* [Pull requests](#filing-pull-requests)

Expand Down Expand Up @@ -52,6 +52,18 @@ in the issue tracker to denote fairly-well-scoped-out bugs or feature requests t
can pick up and work on. If any of those labeled issues do not have enough information, please feel
free to ask constructive questions. (This applies to any open issue.)

## Documentation changes

When changing the API documentation, here are some rules to keep in mind.

* The first line:
* should end with a period
* should be in imperative mood (e.g., "Create" instead of "Creates")
* First line should not be the function's "signature"
* The first word of the first line:
* should be properly capitalized
* should not be "This"

## Filing Pull Requests

Here are some things to keep in mind as you file pull requests to fix bugs, add new features, etc.:
Expand Down

0 comments on commit 6efa525

Please sign in to comment.