Add example of html-report-v2 for documentation

This commit is contained in:
Andreas Dangel
2023-01-23 16:38:38 +01:00
parent c99e9cff81
commit cc4c672f43
2 changed files with 1202 additions and 2 deletions

View File

@@ -345,9 +345,16 @@ Was expecting one of:
XML with a XSL transformation applied.
PMD provides one built-in stylesheet, that is used by default, if no other
stylesheet with the property "xsltFilename" is specified. It is called [pmd-nicerhtml.xsl](https://github.com/pmd/pmd/blob/master/pmd-core/src/main/resources/pmd-nicerhtml.xsl) and can be used for customization.
stylesheet with the property "xsltFilename" is specified. It is called
[pmd-nicerhtml.xsl](https://github.com/pmd/pmd/blob/master/pmd-core/src/main/resources/pmd-nicerhtml.xsl)
and can be used for customization.
[Example with pmd-nicerhtml.xsl](report-examples/pmd-report-pmd-nicerhtml.html)
There are many other stylesheets available online: <https://github.com/pmd/pmd/tree/master/pmd-core/etc/xslt>.
Examples:
* [Example with pmd-nicerhtml.xsl](report-examples/pmd-report-pmd-nicerhtml.html)
* [Example with html-report-v2.xslt](report-examples/html-report-v2.html) - includes charts. It requires javascript enabled and uses
[jQuery](https://jquery.com/), [DataTables](https://datatables.net/), and [Vega](https://vega.github.io/vega/) for charting.
**Properties:**

File diff suppressed because it is too large Load Diff