frag-review/docs/template.yml
Matej Focko a869a3ebf8
feat(config): add prefix and default suffix
Extend the configuration with ‹prefix› and ‹language.default_suffix›.

• ‹prefix› -- specifies the content of the first comment in the review
• ‹language.default_suffix› -- specifies the extension of the sources
  where the prefix is being added

Signed-off-by: Matej Focko <mfocko@redhat.com>
2022-10-15 15:39:21 +02:00

25 lines
No EOL
916 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

gitea:
# instance URL with both protocol and port, if necessary
instance_url: "fill in"
# owner of the repository, usually user's login, i.e. namespace of the repository
owner: "fill in"
# repository name
repository: "fill in"
language:
# boolean value that is used to decide if multiline review comments have opening and closing
# symbols on the separate line
on_separate_line: true
# sequence that opens comment
opening: "/** "
# sequence that is used for multiline comments, i.e. prefixing the lines
continuation: " ** "
# sequence that closes off the comment, including newline
closing: "\n **/\n"
# suffix of the file where header of review is added
default_suffix: "c"
# prefix is used to put initial comment into every file
# can be used for final grade that must appear on the first line
prefix: |
comment that appears at the beginning of each solution