djencks commented on issue #1795: URL: https://github.com/apache/camel-quarkus/issues/1795#issuecomment-696377576
The quarkus partial build wouldn't actually need a local copy of the main camel repo once this idea was accepted/committed; it could use the remote repo. The POC does need a local copy because the modified main component adoc pages don't have a remote location yet. The indexer plugin relies on Antora's 2-pass rendering, where the first pass extracts the header attributes and attaches them as a map to the page object. My plugin then uses this map for it's queries. Since partials are never rendered separately, this map never exists for them. I see your proposal to have the plugin load the partial, but so far I think that is architecturally inappropriate. If you do go in that direction, I'd advise caching the loaded asciidoc object on the partial, since there are likely to be a lot of passes through the set of partials. It would also be best to set the parse_header_only option in case the partial happens to have some actual content. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org