help_docs tool can answer a free-text question based on your git documentation folder.
How to use the help_docs tool
Manual usage
Comment on the PR:
/docs folder.
However, this can be customized by setting the docs_path configuration option:
Learn more about automatic usage of tools.
Run automatically when a new issue is opened
You can configure Qodo to runhelp_docs automatically on any newly created issue. This can be useful for providing immediate feedback to users who open issues with questions on open-source projects with extensive documentation.
Create a GitHub action, such as:
.github/workflows/help_docs.ymlConfiguration options
Configure thehelp_docs tool by setting configurations under the pr_help_docs part in your configuration file.
| Possible configurations | Default value | What they do |
|---|---|---|
repo_url | The URL for the repository where the issue or PR reside | The repository’s URL |
repo_default_branch | none | The branch to use in case repo_url overwritten. If repo_url was not overwritten this parameter has no effect. |
docs_path | ./docs | Relative path to the docs folder from the root of repository. |
exclude_root_readme | false | Whether to exclude the root README file from Qodo’s context. |
supported_doc_exts | [".md", ".mdx", ".rst"] | Which file extensions should be included for help_docs’s action. |
Example usage
Asking a question about another repository:
