diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-06-10 13:34:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 13:34:46 +0200 |
commit | 1760c13db98f822239fd3ec3f0437086016f905e (patch) | |
tree | 83383861dfe941a2e55a5a7f94ea0b3beda0a021 /CONTRIBUTING.md | |
parent | 8b79f2aad4c42644ba0d398b427ccbe64c5d8204 (diff) | |
parent | 6d0e8f9fb70ff00088185f59a627c8f65f5d78ed (diff) |
Merge pull request #39431 from Calinou/contributing-documentation
Document the requirement to update the class reference when contributing
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ba04008680..c28692c34f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -119,6 +119,22 @@ for an introduction to developing on Godot. The [Contributing docs](https://docs.godotengine.org/en/latest/community/contributing/index.html) also have important information on the PR workflow and the code style we use. +### Document your changes + +If your pull request adds methods, properties or signals that are exposed to +scripting APIs, you **must** update the class reference to document those. +This is to ensure the documentation coverage doesn't decrease as contributions +are merged. + +[Update the documentation template](https://docs.godotengine.org/en/latest/community/contributing/updating_the_class_reference.html#updating-the-documentation-template) +using your compiled binary, then fill in the descriptions. +Follow the style guide described in the +[Docs writing guidelines](https://docs.godotengine.org/en/latest/community/contributing/docs_writing_guidelines.html). + +If your pull request modifies parts of the code in a non-obvious way, make sure +to add comments in the code as well. This helps other people understand the +change without having to look at `git blame`. + ### Be nice to the Git history Try to make simple PRs that handle one specific topic. Just like for reporting |