This is an automated email from the ASF dual-hosted git repository. ctargett pushed a commit to branch jira/solr-15556-antora in repository https://gitbox.apache.org/repos/asf/solr.git
commit 425b1220f97bad51e9c0cc641f9b7525cee39198 Author: Cassandra Targett <[email protected]> AuthorDate: Wed Nov 24 13:32:48 2021 -0600 Pull the Guide version from the branch name & mark as prerelease version --- solr/solr-ref-guide/antora.yml | 11 ++++++++--- solr/solr-ref-guide/playbook.yml | 4 ++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/solr/solr-ref-guide/antora.yml b/solr/solr-ref-guide/antora.yml index 5c21e8b..4a0c208 100644 --- a/solr/solr-ref-guide/antora.yml +++ b/solr/solr-ref-guide/antora.yml @@ -1,7 +1,12 @@ name: solr -version: '9_0_0' -display_version: '9.0' -title: Solr +# Note for future: We can assign the version based on parsing the branch name: +# 'branch_(*)_(*)': $1.$2' (or $1_$2) +# This could also be on the content source in playbook.yml +version: + '*/(*)': '$1' +prerelease: true +#display_version: '9.0' +title: Solr Reference Guide DRAFT nav: - modules/getting-started/getting-started-nav.adoc - modules/deployment-guide/deployment-nav.adoc diff --git a/solr/solr-ref-guide/playbook.yml b/solr/solr-ref-guide/playbook.yml index d56f025..dd9a35e 100644 --- a/solr/solr-ref-guide/playbook.yml +++ b/solr/solr-ref-guide/playbook.yml @@ -4,6 +4,10 @@ site: start_page: solr::index.adoc content: sources: +# - url: https://github.com/apache/solr +# branches: jira/solr-15556-antora +# start_path: solr/solr-ref-guide +# edit_url: '{web_url}/tree/{refname}/{path}' - url: ../../ branches: HEAD start_path: solr/solr-ref-guide
