diff --git a/src/main/antora/modules/ROOT/pages/repositories/create-instances.adoc b/src/main/antora/modules/ROOT/pages/repositories/create-instances.adoc index 6b3fdb916..601bf404f 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/create-instances.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/create-instances.adoc @@ -7,7 +7,7 @@ This section covers how to create instances and bean definitions for the defined == Java Configuration Use the store-specific `@Enable{store}Repositories` annotation on a Java configuration class to define a configuration for repository activation. -For an introduction to Java-based configuration of the Spring container, see {spring-framework-docs}/core.html#beans-java[JavaConfig in the Spring reference documentation]. +For an introduction to Java-based configuration of the Spring container, see {spring-framework-docs}/core/beans/java.html[JavaConfig in the Spring reference documentation]. A sample configuration to enable Spring Data repositories resembles the following: diff --git a/src/main/resources/antora-resources/antora.yml b/src/main/resources/antora-resources/antora.yml index a2d7940bc..21dce4bd0 100644 --- a/src/main/resources/antora-resources/antora.yml +++ b/src/main/resources/antora-resources/antora.yml @@ -8,7 +8,7 @@ asciidoc: springversionshort: 6.1 springversion: ${spring} spring-data-commons-javadoc-base: https://docs.spring.io/spring-data/data-commons/docs/current/api/ - springdocsurl: https://docs.spring.io/spring-framework/reference/{springversionshort}/core/beans/java.html + springdocsurl: https://docs.spring.io/spring-framework/reference/{springversionshort} spring-framework-docs: '{springdocsurl}' springjavadocurl: https://docs.spring.io/spring-framework/docs/{springversion}/javadoc-api spring-framework-javadoc: '{springjavadocurl}'