Move to Valentus 4
What changed
-
UI bundle -
demo/playbook.ymlloadshttps://github.com/antora-supplemental/valentus-theme/releases/download/v4.2.2/ui-bundle.zipunchecked(was…/download/v3/ui-bundle.zip). Valentus 4.2.2 is release4.2.2+antora.3. -
Registry -
antoraRegistry.requiresisvalentus-theme >=4;antoraRegistry.usesisvalentus-layout-markup >=4. Valentus 4.2.2 providesvalentus-layout-markup4. -
Light/dark mode - Valentus 4 no longer switches light/dark itself. Its
header-content.hbscalls{{> light-dark-navbar-slot}}andfooter-content.hbscalls{{> light-dark-footer-slot}}; those partials come from@antora-supplemental/light-dark-mode(antora-ui-chassis). Without it the build fails with The partial light-dark-navbar-slot could not be found. Hub and demo profiles now register{ require: '@antora-supplemental/light-dark-mode', toggle: 'placed' }right after chassis-compose, pinned atlight-dark-mode-v0.1.3. Override it with pack keylightDarkMode. -
Demo overrides -
supplemental-ui/partials/footer-content.hbsadds{{> light-dark-footer-slot}}(empty unlesstoggle_placement: footer).supplemental-ui/css/site-themed-svg.cssreplaces the bundle file of the same name, so it now carries the Valentus 4 host layout rule (display: block; width: 100%) for themed SVG images.
Build check
antora demo/playbook.yml finishes with exit 0. The home page and the changelog render with the sun/moon toggle in the top bar and link color-scheme.css, light-dark-mode.css, valentus-paint.css and valentus-chrome.css; site-paint.css is gone. link-validator still reports the same 8 cached invalid links, all from demo fixtures or older pages.