Branch: refs/heads/da-80-github-scm-links Home: https://github.com/xwiki-contrib/documentation Commit: 3771329a9fdd4d5d682d777a68ce08d89eabb09f https://github.com/xwiki-contrib/documentation/commit/3771329a9fdd4d5d682d77... Author: Vincent Massol <[email protected]> Date: 2026-10-06 (Tue, 06 Oct 2026) Changed paths: M documentation-xwikiorg/documentation-xwikiorg-api/src/main/java/org/xwiki/contrib/documentation/internal/xwikiorg/AbstractXDOMDocumentationCheck.java 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 * Generalize the FAQ parsing of `AbstractXDOMDocumentationCheck` into `parseXPropertyXDOM()` so that the Related xproperty can be parsed too * 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