mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 19:05:18 +00:00
docs:move sequence diagram section below main explanation of describe
This commit is contained in:
parent
32460fac57
commit
c346d784e3
1 changed files with 13 additions and 12 deletions
|
|
@ -1,18 +1,6 @@
|
|||
## Overview
|
||||
|
||||
The `describe` tool scans the PR code changes, and generates a description for the PR - title, type, summary, walkthrough and labels.
|
||||
### Mermaid Diagram Support
|
||||
When the `add_diagram` option is enabled in your configuration, the `/describe` tool will include a `Mermaid` sequence diagram in the PR description.
|
||||
|
||||
This diagram represents interactions between components/functions based on the diff content.
|
||||
|
||||
### How to enable
|
||||
|
||||
In your configuration:
|
||||
|
||||
toml
|
||||
[pr_description]
|
||||
add_diagram = true
|
||||
|
||||
The tool can be triggered automatically every time a new PR is [opened](../usage-guide/automations_and_usage.md#github-app-automatic-tools-when-a-new-pr-is-opened), or it can be invoked manually by commenting on any PR:
|
||||
|
||||
|
|
@ -68,6 +56,19 @@ Everything below this marker is treated as previously auto-generated content and
|
|||
|
||||
{width=512}
|
||||
|
||||
### Sequence Diagram Support
|
||||
When the `add_diagram` option is enabled in your configuration, the `/describe` tool will include a `Mermaid` sequence diagram in the PR description.
|
||||
|
||||
This diagram represents interactions between components/functions based on the diff content.
|
||||
|
||||
### How to enable
|
||||
|
||||
In your configuration:
|
||||
|
||||
toml
|
||||
[pr_description]
|
||||
add_diagram = true
|
||||
|
||||
## Configuration options
|
||||
|
||||
!!! example "Possible configurations"
|
||||
|
|
|
|||
Loading…
Reference in a new issue