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.
References: owncloud/docs-client-branding#90 (Antora 3.1 upgrade)
Fixes: #4853 (Upgrade the documentation framework)
Fixes: #4545 (Antora release upgrade from 2.3.4 to 3.0.x)
This upgrades Antora to version 3 (3.1.7 atm).
Tasks:
package.json
so it has the latest Antora (3.1.7 atm)package.json
to use the correct options for the Antora buildsNo more using an own generator, but creating a extension listening to an Antora event
BUILD_SEARCH_INDEX
triggered the indexing preperation stepxref-validator
js code as this is now fully covered in the Antora build process,see https://gitlab.com/antora/xref-validator
xref-validator
step from the pipelinegenerator
directory as it is empty nowEdit-this-page
js code from the generation code as this is now handled by Antora,see https://docs.antora.org/antora/latest/playbook/content-edit-url/#source-view
bin/
linter
,instructions_makepdf.md
,makepdf
,manual_config_pdf
Removing the(not applicapable)docs-pdf
step from the pipelineCommenting the uploading pdf step in(not applicapable).drone.star
site.yml
asciidoctor-kroki
extension registration insite.yml
cheerio
to use thehtmlparser2
engine - 6x more performantThis will take much less time in CI to finish the job freeing ressources - for EACH docs build
Other repo dependent important notes/steps:
docs
repo, we can removeBUILD_SEARCH_INDEX
from.drone.star
as it is no longer used."BUILD_SEARCH_INDEX": ctx.build.branch == deployment_branch,
--> remove.docs
repo upgrade for Node 18 and a comment that one needs to upgrade his local installation!Upgrade sort order: