#146 Update the configuration for Antora 3.0.0
Merged by zlopez. Opened by bta.
bta/infra-docs-fpo docker  into  master

Download 146.patch

Latest version is 3.x, but it gives an error on site.yml (and probably more changes are needed to upgrade).
For now let's stick with a 2.3.z version, as that is working.
Right now 2.3.4 is the last 2.3.z version available.

Thinking about this, I think the Antora version should be kept in sync with the version used for publishing the pages.

I'm not sure, but I think the Dockerfile for publishing was already updated to 3.0 (commit 510feba6fc11130d0b3723c0903f601012160a09, by Francois Andrieu).

Perhaps changing runtime / pull to runtime / fetch in site.yml is enough to be able to switch the preview.sh to Antora 3.0?

@pbokoc Your knowledge could be helpful here.

The only required modification for antora 3.0 is the runtime.pull to be replaced with runtime.fetch as mentioned by @bta.

You can also fix the start_page attribute in both site.yml and antora.yml by adding the .adoc extension to it, that will fix a couple of warning during the build.

rebased onto d4a38a8bc5b1256ed8fb361107c7ef8e32e33b20

Thank you @darknao for the confirmation. I force-updated the pull request branch, following your suggestions.

I also discarded my previous commit (still not merged) which was trying to fix the version of the docker image; thus build.sh will still run with the latest version of the Antora image, as before.

LGTM :thumbsup:

rebased onto fae7c6abda4bc71f914eb7112e4024b528ba4cf8

Pull-Request has been merged by zlopez

Metadata