You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: commit mrdocs.rng and mrdocs-dom-schema.json, with two verification targets
Both schema files are now committed under docs/, parallel to the
existing docs/mrdocs.schema.json (the YAML config schema) and are
exposed to the Antora docs site as downloadable attachments. Two new
CTest targets, `rng-schema-check` and `dom-schema-check`, run `cmake -E
compare_files` between the freshly-generated schemas in the build tree
and the checked-in copies; drift fails the test.
The schemas custom_command is lifted out of the LibXml2 conditional so
the freshness checks run independently of whether libxml2 is available.
.gitattributes pins the two schema files to LF line endings, because
--schemas emits LF line endings and we do a byte-for-byte comparison.
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/schemas.adoc
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,13 @@ The target directory is created if it doesn't already exist.
26
26
27
27
`--schemas` doesn't read your configuration file or your source tree. It runs the schema generator and exits — you can invoke it on a checkout that has never been pointed at a real codebase.
0 commit comments