melexis / warnings-plugin

Command-line tool for marking builds with too many warnings as failed. A command-line alternative for https://github.com/jenkinsci/warnings-plugin. Useable with plugin-less CI systems like Gitlab-CI and even Travis-CI
Apache License 2.0
7 stars 3 forks source link

Sphinx warning counted as Doxygen #113

Open Letme opened 2 years ago

Letme commented 2 years ago

I have following output of warnings (sphinx):

<rst_prolog>:9: WARNING: Field list ends without a blank line; unexpected unindent.
<rst_prolog>:9: WARNING: Field list ends without a blank line; unexpected unindent.

With warnings plugin in command parsing (and output file) configuration to detect both Sphinx and Doxygen warnings, but that above warning is counted as Doxygen warning.

{
    "sphinx": {
        "enabled": true,
        "min": 0,
        "max": 0
    },
    "doxygen":{
        "enabled": true,
        "min": 0,
        "max": 0
    }
}

It seems like some plugin outputs bad Sphinx warning, but it should be counted as Sphinx warning and not as doxygen.

JasperCraeghs commented 2 years ago

Is the issue resolved when you remove the rst_prolog variable and merge its contents into rst_epilog in conf.py?