We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1475698 commit 1b18d64Copy full SHA for 1b18d64
spring-session-docs/antora-playbook.yml
@@ -22,5 +22,6 @@ ui:
22
23
pipeline:
24
extensions:
25
+ - require: ./antora/extensions/version-fix.js
26
- require: ./antora/extensions/major-minor-segment.js
27
- require: ./antora/extensions/root-component-name.js
spring-session-docs/antora/extensions/version-fix.js
@@ -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