Skip to content

Commit 2185cec

Browse files
committed
Refine version properties for documentation build.
See spring-projects/spring-data-build#2638
1 parent 0c1d545 commit 2185cec

File tree

1 file changed

+10
-12
lines changed
  • src/main/antora/resources/antora-resources

1 file changed

+10
-12
lines changed

src/main/antora/resources/antora-resources/antora.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,22 @@ prerelease: ${antora-component.prerelease}
33

44
asciidoc:
55
attributes:
6-
copyright-year: ${current.year}
7-
neo4jGroupId: ${project.groupId}
8-
artifactId: ${project.artifactId}
96
attribute-missing: 'warn'
107
chomp: 'all'
11-
version: ${project.version}
12-
springversionshort: ${spring.short}
13-
springversion: ${spring}
14-
commons: ${springdata.commons.docs}
8+
version: '${project.version}'
9+
copyright-year: '${current.year}'
10+
springversionshort: '${spring.short}'
11+
springversion: '${spring}'
12+
commons: '${springdata.commons.docs}'
1513
include-xml-namespaces: false
16-
spring-data-commons-docs-url: https://docs.spring.io/spring-data/commons/reference/{commons}
14+
spring-data-commons-docs-url: '${documentation.baseurl}/spring-data/commons/reference/${springdata.commons.short}'
1715
spring-data-commons-javadoc-base: '{spring-data-commons-docs-url}/api/java'
18-
springdocsurl: https://docs.spring.io/spring-framework/reference/{springversionshort}
16+
springdocsurl: '${documentation.baseurl}/spring-framework/reference/{springversionshort}'
1917
spring-framework-docs: '{springdocsurl}'
20-
springjavadocurl: https://docs.spring.io/spring-framework/docs/${spring}/javadoc-api
18+
springjavadocurl: '${documentation.spring-javadoc-url}'
2119
spring-framework-javadoc: '{springjavadocurl}'
22-
springhateoasversion: ${spring-hateoas}
23-
releasetrainversion: ${releasetrain}
20+
springhateoasversion: '${spring-hateoas}'
21+
releasetrainversion: '${releasetrain}'
2422
store: Neo4j
2523
groupIdStarter: org.springframework.boot
2624
artifactIdStarter: spring-boot-starter-data-neo4j

0 commit comments

Comments
 (0)