Update documentation

TRAVIS_JOB_NUMBER=5236.2
TRAVIS_COMMIT_RANGE=b74022507991...2bce93c8b614
This commit is contained in:
Travis CI (pmd-bot)
2020-05-08 09:23:26 +00:00
parent ea5fa72b2f
commit 14708ac65d
4 changed files with 23 additions and 3 deletions

View File

@@ -5,8 +5,8 @@
<description>Intended as a documentation theme based on Jekyll for technical writers documenting software and other technical products, this theme has all the elements you would need to handle multiple products with both multi-level sidebar navigation, tags, and other documentation features.</description>
<link>https://pmd.github.io/pmd/</link>
<atom:link href="https://pmd.github.io/pmd/feed.xml" rel="self" type="application/rss+xml"/>
<pubDate>Fri, 08 May 2020 08:41:13 +0000</pubDate>
<lastBuildDate>Fri, 08 May 2020 08:41:13 +0000</lastBuildDate>
<pubDate>Fri, 08 May 2020 09:20:57 +0000</pubDate>
<lastBuildDate>Fri, 08 May 2020 09:20:57 +0000</lastBuildDate>
<generator>Jekyll v3.8.5</generator>
</channel>

View File

@@ -1451,6 +1451,18 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
<p><strong>You are almost there!</strong></p>
</li>
<li>
<p>Update the list of supported languages</p>
<ul>
<li>
<p>Write the fully-qualified name of your Language class to the file <code class="highlighter-rouge">src/main/resources/META-INF/services/net.sourceforge.pmd.cpd.Language</code></p>
</li>
<li>
<p>Update the test that asserts the list of supported languages by updating the <code class="highlighter-rouge">SUPPORTED_LANGUAGES</code> constant in <a href="https://github.com/pmd/pmd/blob/master/pmd-dist/src/test/java/net/sourceforge/pmd/it/BinaryDistributionIT.java">BinaryDistributionIT</a></p>
</li>
</ul>
</li>
<li>
<p>Please dont forget to add some test, you can again.. look at Go implementation ;)</p>

View File

@@ -1411,6 +1411,11 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
<h3 id="new-and-noteworthy">New and noteworthy</h3>
<h4 id="cpd-now-supports-xml-as-well">CPD now supports XML as well</h4>
<p>Thanks to <a href="https://github.com/xnYi9wRezm">Fernando Cosso</a> CPD can now find duplicates in XML files as well.
This is useful to find duplicated sections in XML files.</p>
<h3 id="fixed-issues">Fixed Issues</h3>
<ul>
@@ -1430,6 +1435,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
<li><a href="https://github.com/pmd/pmd/pull/2448">#2448</a>: [java] Operator Wrap check - <a href="https://github.com/harsh-kukreja">Harsh Kukreja</a></li>
<li><a href="https://github.com/pmd/pmd/pull/2449">#2449</a>: [plsql] Additional info in SqlStatement, FormalParameter and FetchStatement - <a href="https://github.com/zgrzyt93">Grzegorz Sudolski</a></li>
<li><a href="https://github.com/pmd/pmd/pull/2452">#2452</a>: [doc] Fix “Making Rulesets” doc sample code indentation - <a href="https://github.com/arturdryomov">Artur Dryomov</a></li>
<li><a href="https://github.com/pmd/pmd/pull/2457">#2457</a>: [xml] Adding XML to CPD supported languages - <a href="https://github.com/xnYi9wRezm">Fernando Cosso</a></li>
<li><a href="https://github.com/pmd/pmd/pull/2469">#2469</a>: [apex] fix false positive unused variable if only a method is called - <a href="https://github.com/gwilymatgearset">Gwilym Kuiper</a></li>
</ul>

View File

@@ -1960,7 +1960,6 @@ This behavior has been introduced to ease CPD integration into scripts or hooks,
<h2 id="supported-languages">Supported Languages</h2>
<ul>
<li>Apex</li>
<li>C#</li>
<li>C/C++</li>
<li>Dart</li>
@@ -1973,15 +1972,18 @@ This behavior has been introduced to ease CPD integration into scripts or hooks,
<li>Kotlin</li>
<li>Lua</li>
<li>Matlab</li>
<li>Modelica</li>
<li>Objective-C</li>
<li>Perl</li>
<li>PHP</li>
<li>PL/SQL</li>
<li>Python</li>
<li>Ruby</li>
<li>Salesforce.com Apex</li>
<li>Scala</li>
<li>Swift</li>
<li>Visualforce</li>
<li>XML</li>
</ul>
<h2 id="available-report-formats">Available report formats</h2>