Skip to content

Commit c6c6ecf

Browse files
committed
Polishing.
Fix documentation reference links. See #2069
1 parent 2439576 commit c6c6ecf

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

src/main/antora/modules/ROOT/pages/couchbase.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Spring Data support for Couchbase contains a wide range of features:
66

77
* Spring configuration support with xref:couchbase/configuration.adoc[Java-based `@Configuration` classes].
88
* The xref:couchbase/template.adoc[`CouchbaseTemplate` and `ReactiveCouchbaseTemplate`] helper classes that provide object mapping between Couchbase collections and POJOs.
9-
* xref:couchbase/template.adoc#exception-translation[Exception translation] into Spring's portable {spring-data-commons-docs-url}data-access.html#dao-exceptions[Data Access Exception Hierarchy].
10-
* Feature rich object mapping integrated with _Spring's_ {spring-data-commons-docs-url}core.html#core-convert[Conversion Service].
9+
* xref:couchbase/template.adoc#exception-translation[Exception translation] into Spring's portable {spring-framework-docs}/data-access/dao.html#dao-exceptions[data-access.html#dao-exceptions][Data Access Exception Hierarchy].
10+
* Feature rich object mapping integrated with _Spring's_ {spring-framework-docs}/core/validation/convert.html[Conversion Service].
1111
* Annotation-based mapping metadata that is extensible to support other metadata formats.
1212
* Automatic implementation of xref:repositories.adoc[imperative and reactive `Repository` interfaces] including support for xref:repositories/custom-implementations.adoc[custom query methods].
1313

src/main/antora/modules/ROOT/pages/couchbase/template.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ The Spring Framework provides exception translation for a wide variety of databa
138138
This has traditionally been for JDBC and JPA.
139139
Spring Data Couchbase extends this feature to Couchbase by providing an implementation of the `org.springframework.dao.support.PersistenceExceptionTranslator` interface.
140140

141-
The motivation behind mapping to Spring's {spring-data-commons-docs-url}html/dao.html#dao-exceptions[consistent data access exception hierarchy]
141+
The motivation behind mapping to Spring's {spring-framework-docs}/data-access/dao.html#dao-exceptions[consistent data access exception hierarchy]
142142
is to let you write portable and descriptive exception handling code without resorting to coding against and handling specific Couchbase exceptions.
143143
All of Spring's data access exceptions are inherited from the
144144
`DataAccessException` class, so you can be sure that you can catch all database-related exceptions within a single try-catch block.

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,20 @@ prerelease: ${antora-component.prerelease}
33

44
asciidoc:
55
attributes:
6-
copyright-year: ${current.year}
6+
attribute-missing: 'warn'
7+
chomp: 'all'
78
version: ${project.version}
9+
copyright-year: ${current.year}
810
springversionshort: ${spring.short}
911
springversion: ${spring}
10-
attribute-missing: 'warn'
1112
commons: ${springdata.commons.docs}
1213
include-xml-namespaces: false
13-
spring-data-commons-docs-url: https://docs.spring.io/spring-data/commons/reference
14-
spring-data-commons-javadoc-base: https://docs.spring.io/spring-data/commons/docs/${springdata.commons}/api/
15-
spring-framework-docs: https://docs.spring.io/spring-framework/reference/{springversionshort}
16-
spring-framework-javadoc: https://docs.spring.io/spring-framework/docs/${spring}/javadoc-api
14+
spring-data-commons-docs-url: https://docs.spring.io/spring-data/commons/reference/{commons}
15+
spring-data-commons-javadoc-base: '{spring-data-commons-docs-url}/api/java'
16+
springdocsurl: https://docs.spring.io/spring-framework/reference/{springversionshort}
17+
spring-framework-docs: '{springdocsurl}'
18+
springjavadocurl: https://docs.spring.io/spring-framework/docs/${spring}/javadoc-api
19+
spring-framework-javadoc: '{springjavadocurl}'
1720
springhateoasversion: ${spring-hateoas}
1821
releasetrainversion: ${releasetrain}
1922
store: Couchbase

0 commit comments

Comments
 (0)