Skip to content

[doc] Fix #6961: dont choke on cut off links - #6963

Merged
zbynek merged 7 commits into
pmd:mainfrom
UncleOwen:issue-6961-dont-choke-on-cutoff-links
Sep 5, 2026
Merged

zbynek merged 7 commits into
pmd:mainfrom
UncleOwen:issue-6961-dont-choke-on-cutoff-links

Conversation

@UncleOwen

@UncleOwen UncleOwen commented Aug 9, 2026 •

Copy link
Copy Markdown
Member

Describe the PR

This fixes RuleDocGenerator to not generate partial links in the rule index (by not generating links at all for the description exerpt) and fixes RuleTagChecker to still handle that case gracefully.

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • [n/a] Added (in-code) documentation (if needed)

@UncleOwen UncleOwen changed the title [doc] Fix #6961 dont choke on cutoff links [doc] Fix #6961: dont choke on cutoff links Aug 9, 2026
@pmd-actions-helper

pmd-actions-helper Bot commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Documentation Preview

Compared to main:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.
There are 0 changed duplications, 0 new duplications and 0 removed duplications.
There are 0 changed CPD errors, 0 new CPD errors and 0 removed CPD errors.

Regression Tester Report

(comment created at 2026-09-05 15:34:57+00:00 for ae632a9)

@UncleOwen UncleOwen changed the title [doc] Fix #6961: dont choke on cutoff links [doc] Fix #6961: dont choke on cut off links Aug 10, 2026
@UncleOwen UncleOwen added the in:documentation Affects the documentation [doc] label Aug 30, 2026
@zbynek
zbynek merged commit a24c499 into pmd:main Sep 5, 2026
13 checks passed
@UncleOwen
UncleOwen deleted the issue-6961-dont-choke-on-cutoff-links branch September 5, 2026 16:17
@UncleOwen UncleOwen added this to the 7.28.0 milestone Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in:documentation Affects the documentation [doc]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[doc] When a rule's description has a link to another rule in the exact wrong position, the doc generation crashes

2 participants