[xwiki-contrib/documentation] ec4555: DA-80: Add a check for links to files on GitHub th...
Branch: refs/heads/da-80-github-scm-links Home: https://github.com/xwiki-contrib/documentation Commit: ec4555e8200c939c8ea92c422bc975ceba51fae2 https://github.com/xwiki-contrib/documentation/commit/ec4555e8200c939c8ea92c... Author: Vincent Massol <[email protected]> Date: 2026-10-07 (Wed, 07 Oct 2026) Changed paths: A documentation-xwikiorg/documentation-xwikiorg-api/src/main/java/org/xwiki/contrib/documentation/internal/xwikiorg/GitHubSCMLinkCheck.java M documentation-xwikiorg/documentation-xwikiorg-api/src/main/resources/META-INF/components.txt A documentation-xwikiorg/documentation-xwikiorg-api/src/test/java/org/xwiki/contrib/documentation/internal/xwikiorg/GitHubSCMLinkCheckTest.java Log Message: ----------- DA-80: Add a check for links to files on GitHub that don't use the SCM macro * Add the `gitHubSCMLink` check (`GitHubSCMLinkCheck`), reporting as an Error every link of type URL to a file or directory of a repository of the `xwiki` or `xwiki-contrib` GitHub organizations (path `/<org>/<repo>/blob/...` or `/<org>/<repo>/tree/...`), with the URL as context * Look in the page content, the FAQ and Related xproperties, and inside macros whose content is wiki content * Parse the FAQ and Related xproperties with the shared `AbstractXDOMDocumentationCheck.parseXPropertyXDOM()` * Add `GitHubSCMLinkCheckTest` Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/documentation/settings/notifications
participants (1)
-
XWiki Notifications