Generated antora.yml with version metadata
It seems that when when collector runs, the versioning has already finished.
E.g. when the scan operation finds an antora.yml containing
version: true
it fails like this:
[09:02:32.624] FATAL (antora): The "path" argument must be of type string. Received type boolean (true)
Cause: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type boolean (true)
at new NodeError (node:internal/errors:405:5)
at validateString (node:internal/validators:162:11)
at Object.join (node:path:1171:7)
at computeOut (/home/user/git/docs/node_modules/@antora/content-classifier/lib/content-catalog.js:500:27)
at ContentCatalog.addFile (/home/user/git/docs/node_modules/@antora/content-classifier/lib/content-catalog.js:185:18)
at /home/user/git/docs/node_modules/@antora/content-classifier/lib/classify-content.js:38:87
at Array.forEach (<anonymous>)
at /home/user/git/docs/node_modules/@antora/content-classifier/lib/classify-content.js:38:13
at Map.forEach (<anonymous>)
at GeneratorContext.classifyContent (/home/user/git/docs/node_modules/@antora/content-classifier/lib/classify-content.js:34:6)
because the true value is not substituted with the ref name at this point.
Furthermore, adding
display_version: something
does not have an effect either.
It would be nice if this could be supported, but if that's not possible, mentioning this in the docs would be helpful.