Is there a way to setup CI to build PR branches automatically for viewing?
Netlify supports this out of the box. Couchbase has it enabled https://github.com/couchbase/docs-ui/blob/master/netlify.toml (though that example is for the UI, but it's the same thing)
I haven't used component attributes so far.
It's new in Antora 2.3 (alpha). They are scoped to the component version, though in the UI model the attributes from the latest component version get hoisted to the attributes for the component overall.
here's an example:
name: mq-connector title: MQ Connector version: '3.x' nav: - modules/ROOT/nav.adoc asciidoc: attributes: page-component-desc: Connect to Anypoint MQ, MuleSoft's multi-tenant cloud messaging service for the enterprise. page-connector-type: Connector page-exchange-url: https://www.anypoint.mulesoft.com/exchange/com.mulesoft.connectors/anypoint-mq-connector/ page-vendor-slug: msmq page-vendor-title: MuleSoft
we're looking for feedback on this feature.
they are also accessible from the UI model via:
though I'm likely going to change "asciidocConfig" to just "asciidoc" for consistency.
I'd better like to listen to @mojavelinux 's opinion first, because maybe we devise something we can add to Antora to facilitate global navigation trees.
Could you clarify what that was about? Don't hesitate to open an issue. Even if we decide to close it in favor of something else, it is captured.