Skip to content

Commit 1b18d64

Browse files
committed
Fix 2.6.2 reference docs
Closes gh-2035
1 parent 1475698 commit 1b18d64

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

spring-session-docs/antora-playbook.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ ui:
2222

2323
pipeline:
2424
extensions:
25+
- require: ./antora/extensions/version-fix.js
2526
- require: ./antora/extensions/major-minor-segment.js
2627
- require: ./antora/extensions/root-component-name.js
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
'use strict'
2+
3+
module.exports.register = (pipeline, { config }) => {
4+
5+
pipeline.on('contentAggregated', ({ contentAggregate }) => {
6+
contentAggregate.forEach(aggregate => {
7+
if (aggregate.version === "2.6.2" &&
8+
aggregate.prerelease == "-SNAPSHOT") {
9+
aggregate.version = "2.6.2"
10+
aggregate.displayVersion = `${aggregate.version}`
11+
delete aggregate.prerelease
12+
}
13+
})
14+
})
15+
}

0 commit comments

Comments
 (0)