Loading
Bring the content-path plate onto the diagram kit and load clipboard.js from the site's build
What does this MR do and why?
I want the reference's own files to meet the rules it sets for every site. Two did not:
content-path.svgpredates the diagram kit and failedretoken.py --check. It is redrawn at width 960 on the kit's grid, ids, type stacks and accessible name. It keeps the same five boxes, four connectors and labels.- The site layout linked
clipboard.jsby an absolute, unversioned URL on the live site. It now uses theBASE_URLpath its Phosphor stylesheet already uses, which needs no version because the site is the thing being released.scripts/sync-versions.shonly rewritesdesign/v<tag>/links, so nothing it reads changes, and the templates keep their pins.
References
None.
Standards affected
None.
Exemption implications
None.
Test plan
-
just guard,just validate,just check,just buildandjust agentpass. -
retoken.py --checkreports 47 counts oncontent-path.svgbefore and none after; the 8 kit templates stay clean. - The guide that shows the plate renders the same boxes, labels and caption at 1440 in light and dark.
- The built home page links
/public-sector/reference/design/js/clipboard.js, andsite/dist/design/js/clipboard.jsexists. - Not tested: the rendered plate in Safari or Firefox.
- Known limit, unchanged: the lab chrome README and the usage comment in
clipboard.jsstill show the unversioneddesign/js/clipboard.jsform as the documented default.
An AI tool wrote this change and ran the checks above.