add doc placement before after

This commit is contained in:
Hussam.lawen
2023-09-28 22:44:15 +03:00
parent 96824aa9e2
commit 043d453cab
2 changed files with 20 additions and 4 deletions

View File

@ -58,6 +58,13 @@ Code Documentation:
type: integer
description: |-
The relevant line number from a '__new hunk__' section where the {{ docs_for_language }} should be added.
doc placement:
type: string
enum:
- before
- after
description: |-
The {{ docs_for_language }} placement relative to the relevant line (code component).
documentation:
type: string
description: |-
@ -70,6 +77,7 @@ Code Documentation:
- relevant file: |-
src/file1.py
relevant lines: 12
doc placement: after
documentation: |-
\"\"\"
This is a python docstring for func1.