Andreas Dangel
bcbf588bba
Rename RuleSetLoadException
2020-12-11 18:35:41 +01:00
Clément Fournier
141c51b0ab
Fix ant tests
...
Report was being rendered mutliple times
2020-11-24 14:43:27 +01:00
Clément Fournier
b0df6a8248
Update pmd-doc module to use newer apis
2020-11-24 13:18:30 +01:00
Andreas Dangel
69a3914a77
[doc] Renamed/Moved rules are missing in documentation ( Fixes #2823 )
...
Include deprecated rule references conditionally
when loading rulesets via RuleSetFactory
2020-10-10 17:02:13 +02:00
Andreas Dangel
92bab9b595
pmd-doc: Add test case for renamed rules
...
Uses the pattern documented in rule deprecation policy.
The rule reference should be deprecated to get a deprecation
warning, if it is still used.
2020-10-10 16:29:33 +02:00
Stefan Birkner
22db2fdebc
Use JUnit's TemporaryFolder rule
...
Don't reinvent the wheel. TemporaryFolder already takes care of cleaning
up the created files.
2020-10-03 22:59:16 +02:00
XenoAmess
327eaaedf6
use StandardCharsets
2020-08-24 16:30:04 +08:00
Andreas Dangel
55a6b5bef5
[doc] Fix unit tests on Windows
2020-07-23 13:53:52 +02:00
Andreas Dangel
8c06dbcd4c
[doc] Improve performance of rule doc generator
...
Now we walk PMD source tree only once to resolve the
file names to rulesets and rules instead walking the
whole tree again for each ruleset/rule.
2020-07-23 13:03:19 +02:00
Andreas Dangel
561825703f
[doc] Fix rule tags in the rule docs
...
If using quotes, there was a html escape done, which made
the rule tag renderer to spit out "quot".
2020-05-23 13:07:25 +02:00
Clément Fournier
491e513775
Merge branch 'doc-renderer'
2020-04-20 09:46:57 +02:00
Andreas Dangel
08d31c62a9
Merge branch 'master' into pr-2377
2020-04-16 17:52:03 +02:00
Andreas Dangel
a007b0b0cc
Fix dead links
2020-04-11 21:22:35 +02:00
Clément Fournier
1de1d1c66d
Update some usages early
2020-04-08 22:00:36 +02:00
Clément Fournier
0d65c2e6e6
Add relevant property tag
2020-03-20 18:47:40 +01:00
Clément Fournier
d90d5d267c
Remove trailing whitespace everywhere
2020-01-24 23:40:06 +01:00
Clément Fournier
05870c98cc
Deprecate RulesetFactory constructors
2019-12-24 14:39:20 +01:00
Clément Fournier
46a8d87fb7
Try to fix confused image reference
...
Build of #1956 is failing but just on macosx...
See https://travis-ci.org/pmd/pmd/jobs/566211322
Idk what's the problem, maybe it's because '(?!)' looks
like a negative lookahead
2019-08-01 01:37:32 +02:00
Clément Fournier
959c98c906
Fix dead link detection for image links
2019-08-01 01:00:25 +02:00
Andreas Dangel
490ad67aa0
[doc] fix unnecessary blank lines
2019-07-12 16:03:15 +02:00
Andreas Dangel
6c9ecfa7c1
[doc] Escape code examples for liquid with {%raw%}
...
Fixes #1898
2019-07-12 10:57:10 +02:00
Andreas Dangel
8216c3517f
[doc] Error in changelog 6.16.0 due to not properly closed rule tag
...
Fixes #1896
2019-07-06 15:53:46 +02:00
Andreas Dangel
b691cec6a4
[doc] Improve DeadLinksChecker
...
A leading slash is a problem now. Links need to be relative.
2019-07-06 12:00:33 +02:00
Clément Fournier
c71646475d
Fix tests
2019-03-10 17:21:28 +01:00
Clément Fournier
054b4003fd
Filter out deprecated properties
...
Also:
* Suppress space padding for xml default values
* Fetch default value from the rule
2019-03-10 16:45:43 +01:00
Andreas Dangel
b126bf94d2
[doc] Generate property override examples in rule doc
...
Refs #1712
2019-03-09 16:21:11 +01:00
Andreas Dangel
17fe6694ba
[core] Failed build on Windows with source zip archive
...
Fixes #1462
2019-01-25 18:41:46 +01:00
Juan Martín Sotuyo Dodero
9b2759e55a
[doc] Improve deadlink detection
...
- Do a HEAD request instead of a GET
- Some minor code simplifications
2019-01-09 20:00:38 -03:00
Clément Fournier
0547e056fe
Cleanups
2019-01-07 22:20:59 +01:00
Clément Fournier
2973453946
Fix http response cache, refs #1545
2019-01-07 21:42:02 +01:00
Clément Fournier
5a20ec37d0
Remove dead links
2019-01-07 14:10:14 +01:00
Clément Fournier
f922bcac0e
Finish Future approach
2019-01-07 13:51:05 +01:00
Kristian Scheibe
8c54d73f8e
add a maven property to check certain external links
...
check links to the GitHub master branch using the local existing files
2019-01-01 19:55:36 +01:00
Kristian Scheibe
ca8f43baef
process to check for local dead links, fails the build of pmd-doc if dead links are found
2018-12-26 13:42:34 +01:00
Andreas Dangel
77a30311a0
Fix quote detection
2018-11-18 13:09:27 +01:00
Andreas Dangel
888164ca23
Add a warning at the beginning of the generated files.
2018-11-18 13:05:27 +01:00
Andreas Dangel
75cbffaab4
Refactor EscapeUtils, use StringEscapeUtils for escaping html
2018-11-18 12:47:19 +01:00
Andreas Dangel
9cdfe6ff96
Move escape methods into own utility, add unit tests
2018-11-18 12:17:13 +01:00
Andreas Dangel
2977891dc7
Ugly fix for #1468
2018-11-15 21:54:14 +01:00
Andreas Dangel
75b1579285
[doc] Extend test case with more XSS problems
2018-11-15 21:54:11 +01:00
VishvaThejeshwar
0112bd9a3d
#1341 change and tests
2018-11-01 19:30:17 +05:30
Clément Fournier
39f87ca5f3
Update schema location in rulesets
2018-10-27 21:02:16 +02:00
Will Herrmann
cba4e87acd
Replacing deprecated IO methods with ones that specify a charset
...
Standardizing with StandardCharsets.UTF_8, given that it was used in
several places of code already, and it provides compile-time checking
(as opposed to "UTF-8")
2018-10-12 17:25:08 -05:00
Andreas Dangel
6ed35c477b
Merge branch 'pr-1162'
2018-06-16 22:25:32 +02:00
Clément Fournier
da90b25859
Fix tests
2018-05-31 17:59:12 +00:00
Clément Fournier
f65e67e3bd
Add space
2018-05-31 17:52:31 +00:00
Clément Fournier
f8ee148f68
Add XPath syntax highlighter to Rouge
...
This is only used when building the site, like the Liquid extensions
2018-05-31 10:20:00 +02:00
Clément Fournier
5ea314bc74
Update pmd-doc tests
2018-05-23 16:31:29 +02:00
Clément Fournier
457ba978b5
Update tags, make CLI reference page
2018-05-21 11:54:10 +02:00
Clément Fournier
9924bd8bfe
Landing page is WIP, add some tags to languages
2018-05-21 11:54:10 +02:00