[xwiki-contrib/documentation] 9a6c31: DA-92: Add checks for top-level documentation pages
Branch: refs/heads/da-92-top-level-pages Home: https://github.com/xwiki-contrib/documentation Commit: 9a6c310eca7d11a90127b7d170dcfd416532ca8c https://github.com/xwiki-contrib/documentation/commit/9a6c310eca7d11a90127b7... 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/TopLevelPageCheck.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/TopLevelPageCheckTest.java Log Message: ----------- DA-92: Add checks for top-level documentation pages * Add the topLevelPage check, which applies to the top-level documentation pages only, i.e. the pages documentation.<xs|extensions>.<user|admin|dev>.<page>.WebHome, listed first in the navigation. * Report an Error when a top-level page is not of Explanation type, when its title has more than 3 words, and when its title contains a parenthetical qualifier; each rule is reported on its own, with the type or the title as context. * Add TopLevelPageCheckTest covering valid pages, each broken rule alone and all together, a missing DocumentationClass object, an empty title, and pages that are not top-level ones. 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