Skip to content

Commit 4bddc12

Browse files
rwinchgregturn
authored andcommitted
Update Antora refname for future versions.
Ensure that future branches and tags are selected for inclusion in the released documentation. ALso add latest-version-extesion to ensure only the latest generation (major.minor) is built to prevent building all tags. See #2893.
1 parent bd91301 commit 4bddc12

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: antora-playbook.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
antora:
22
extensions:
33
- '@springio/antora-extensions/partial-build-extension'
4+
- require: '@springio/antora-extensions/latest-version-extension'
45
- require: '@springio/antora-extensions/inject-collector-cache-config-extension'
56
- '@antora/collector-extension'
67
- '@antora/atlas-extension'
@@ -15,7 +16,10 @@ git:
1516
content:
1617
sources:
1718
- url: https://github.com/spring-projects/spring-data-commons
18-
branches: [main]
19+
# Refname matching:
20+
# https://docs.antora.org/antora/latest/playbook/content-refname-matching/
21+
branches: [main,'({3..9}).+({0..9}).x', '!(3.{0..1}.x)']
22+
tags: ['({3..9}).+({0..9}).+({0..9})?(-{RC,M}+({0..9}))', '!(3.{0..1}.+({0..9})?(-{RC,M}+({0..9})))','!(3.2.0-M1)']
1923
start_path: src/main/antora
2024
asciidoc:
2125
attributes:

0 commit comments

Comments
 (0)