This is an automated email from the ASF dual-hosted git repository. mdrob pushed a commit to branch jira/solr-15556-antora in repository https://gitbox.apache.org/repos/asf/solr.git
commit 210c9b708180a1e09bf7b59826f5f441148687fc Author: Mike Drob <[email protected]> AuthorDate: Tue Jan 25 18:10:54 2022 -0600 Pass site details as attributes to antora --- solr/solr-ref-guide/build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/solr/solr-ref-guide/build.gradle b/solr/solr-ref-guide/build.gradle index 5742aaf..990a318 100644 --- a/solr/solr-ref-guide/build.gradle +++ b/solr/solr-ref-guide/build.gradle @@ -309,10 +309,12 @@ node { // Documentation for Antora-Gradle plugin at // https://gitlab.com/antora/antora-gradle-plugin -// Can possibly add some attributes to arguments? antora { // TODO document these properties in help playbookFile = file(propertyOrEnvOrDefault("refguide.playbook", "REFGUIDE_PLAYBOOK", "playbook.yml")); antoraVersion = "3.0.1" - arguments = ["--fetch"] + // TODO this isn't getting the result of the prepare sources tasks, so missing dynamic dependency versions + arguments = htmlSiteDetails.props.collect { k,v -> ['--attribute', "$k=$v"]}.flatten() + '--fetch' + + // dependsOn tasks.prepareHtmlSiteDetailsSources }
