Add Docs
The 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
add_docs toolManual usage
Comment on the PR:
/add_docsYou can also state a name of a specific component in the PR to get documentation only for that component:
/add_docs component_nameThis tool can also be triggered interactively by using the analyze tool.
Configuration options
Configure the add_docs tool by setting configurations under the pr_add_docs part in your configuration file.
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



Last updated