[xwiki-contrib/documentation] e9f5d1: DA-101: Move the SCM macro from xwiki.org to the D...
Branch: refs/heads/vmassol/DA-101 Home: https://github.com/xwiki-contrib/documentation Commit: e9f5d1ecf0da64d11e211ae325323d0e42960f9c https://github.com/xwiki-contrib/documentation/commit/e9f5d1ecf0da64d11e211a... Author: Vincent Massol <[email protected]> Date: 2026-10-08 (Thu, 08 Oct 2026) Changed paths: M documentation-test/documentation-test-docker/src/test/it/org/xwiki/contrib/documentation/test/docker/DocumentationIT.java M documentation-test/documentation-test-pageobjects/src/main/java/org/xwiki/contrib/documentation/test/po/DocumentationViewPage.java A documentation-xwikiorg/documentation-xwikiorg-ui/src/main/resources/DocApp/Code/SCMMacro.xml Log Message: ----------- DA-101: Move the SCM macro from xwiki.org to the Documentation Application * Add the `{{scm}}` wiki macro to the XWiki.org UI module (`DocApp.Code.SCMMacro`), with the same id and parameters as the `Macros.SCM` page of xwiki.org, so that the app provides the macro recommended by the `gitHubSCMLink` check. * Generate `https://github.com` and `https://raw.githubusercontent.com` URLs instead of `http://www.github.com` and `http://raw.github.com`. * Type the `raw` parameter as a boolean, strip a leading slash from `path` and escape the URL in the generated link. * Add a step to `DocumentationIT` checking the links generated for the parameter combinations. 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