add_docs tool scans the PR code changes, and automatically suggests documentation for any code components that changed in the PR.
The add_docs tool supports the programming languages: Python, Java, C++, JavaScript, TypeScript, C#.
How to use the add_docs tool
Manual usage
Comment on the PR:
analyze tool.
Configuration options
Configure theadd_docs tool by setting configurations under the pr_add_docs part in your configuration file.
| Possible configurations | Default value | What they do |
|---|---|---|
docs_style | sphinx | The exact style of the documentation (for python docstring). You can choose from: google, numpy, sphinx, restructuredtext, plain. |
extra_instructions | none | Optional extra instructions for the tool. For example: “focus on the changes in the file X”, “Ignore changes in …” |
Example usage


