Skip to content

REPORTERS_MARKDOWN_SUMMARY_TYPE confusing and lacking documentation #6254

@bdovaz

Description

@bdovaz

Is your feature request related to a problem? Please describe.

The documentation for this field is quite confusing. The possible values are as follows:

def build_markdown_summary(reporter_self, action_run_url="", max_total_chars=40000):

That is:

  • sections
  • sections-table
  • table-sections
  • table

The explanation on these pages is as follows:

Display summary in PR/MR comments as sections, table or both (sections-table or table-sections)

https://megalinter.io/latest/reporters/AzureCommentReporter/

https://megalinter.io/latest/reporters/BitbucketCommentReporter/

https://megalinter.io/latest/reporters/GitHubCommentReporter/

Honestly @nvuillam, I don't understand that explanation of the 4 possible values, let alone what each one means.

Even in Azure DevOps, setting it to REPORTERS_MARKDOWN_SUMMARY_TYPE: sections does not display anything:

Image

Describe the solution you'd like

Explain the possible values and what each one does more clearly by showing screenshots.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions