Skip to content

Conversation

@adangel
Copy link
Member

@adangel adangel commented Sep 26, 2025

Describe the PR

This adds an "Copy URL" button to the headlines. Makes it easier to copy the url for a rule documentation:

image

It also disables the anchorjs back-to-top feature, which we never used and which also added a click handler. Without this, you can now double click on the rule name to select it. This was not possible before.

It also updates the style of the edit button using fontawesome. And it adds a tooltip.

The index.md page used additionally jquery-ui which conflicted with bootstrap's tooltip(). It was only used for highlight animation of a selected shuffle-box. Removed now.

Related issues

  • Fix #

Ready?

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

@adangel adangel added this to the 7.18.0 milestone Sep 26, 2025
@adangel adangel added the in:documentation Affects the documentation [doc] label Sep 26, 2025
@pmd-actions-helper
Copy link
Contributor

pmd-actions-helper bot commented Sep 26, 2025

Documentation Preview

No regression tested rules have been changed.

(comment created at 2025-10-27 09:05:40+00:00 for cab9706)

It conflicts with bootstrap's tooltip() and it was only
used for the highlight effect of a selected shuffle box.
@adangel adangel force-pushed the doc/copy-header-link branch from 1636d60 to cab9706 Compare October 27, 2025 08:47
@adangel adangel merged commit 2848e60 into pmd:main Oct 27, 2025
11 checks passed
@adangel adangel deleted the doc/copy-header-link branch October 27, 2025 09:16
magwas pushed a commit to magwas/pmd that referenced this pull request Nov 1, 2025
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.

1 participant