Fix validate tasks to use Antora 3 built-in xref checking - #5123
Draft
jcayouette wants to merge 2 commits into
Draft
Fix validate tasks to use Antora 3 built-in xref checking#5123jcayouette wants to merge 2 commits into
jcayouette wants to merge 2 commits into
Conversation
The old validate:{mlm,uyuni} tasks cd'd into an unstaged translations/
tree and invoked @antora/xref-validator, an Antora 2.x plugin that is
not shipped in the builder image. Rebuild them like draft targets:
stage-content, gen-site, gen-antora, then npx antora with
--log-failure-level=error so warnings are reported but only errors fail.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@antora/xref-validatorvalidate tasks with Antora 3 site generation and--log-failure-level=errorstage-content,gen-site,gen-antoraLANGUAGESthrough container validate wrappersmanager-5.2This PR calls
task: stage-content, which is introduced by the AI localization toolchain in #5103.Merge order:
mastermasterSupersedes Lukáš's validate PR manager-5.2 - Fix task validation #5105 for
master.Test plan
master:task validate:mlm LANGUAGES=enmaster:task validate:uyuni LANGUAGES=en