chore: Antora in charge of single-sourcing and validating content, generating and validating the website #2455
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.
Previously, we were piling up scripts in gulp and build.sh.
With this pull request, Antora is in charge:
Gulp has a more narrowed scope:
In details:
The Antora Collector extension single-sources external content into an uncommitted place (
build/collector
subdirectories), and register the content to Antora:CheCluster
reference./tools/checluster_docs_gen.sh
./tools/environment_docs_gen.sh
./tools/create_architecture_diagrams.py
(New! It was not automated)./tools/detect-unused-content.sh
./tools/validate_language_changes.sh
Local Antora extensions validate the content:
extensions/antora-to-plain-asciidoc.js
extensions/htmltest.js
in the outputThis pull request also:
Additional resources:
A successful run example:
An error example: