From 3458f293d46f0c71ddbedb2e730f65bbc7881743 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Fri, 18 Nov 2022 15:36:55 +0100 Subject: [PATCH] Polish asciidoc attributes --- .../src/docs/asciidoc/attributes.adoc | 28 ++++++++++--------- .../src/docs/asciidoc/integration.adoc | 2 +- framework-docs/src/docs/asciidoc/testing.adoc | 4 +-- .../src/docs/asciidoc/web/webmvc.adoc | 1 - 4 files changed, 18 insertions(+), 17 deletions(-) diff --git a/framework-docs/src/docs/asciidoc/attributes.adoc b/framework-docs/src/docs/asciidoc/attributes.adoc index 580fa38e988..041f12bfbe1 100644 --- a/framework-docs/src/docs/asciidoc/attributes.adoc +++ b/framework-docs/src/docs/asciidoc/attributes.adoc @@ -1,13 +1,15 @@ -:docs-java: {docdir}/../../main/java/org/springframework/docs -:docs-kotlin: {docdir}/../../main/kotlin/org/springframework/docs -:docs-resources: {docdir}/../../main/resources -:spring-framework-main-code: https://github.com/spring-projects/spring-framework/tree/main -:docs-site: https://docs.spring.io -:docs-spring-framework: {docs-site}/spring-framework/docs/{spring-version} -:api-spring-framework: {docs-spring-framework}/javadoc-api/org/springframework -:doc-spring-amqp: {docs-site}/spring-amqp/docs/current/reference -:doc-spring-gemfire: {docs-site}/spring-gemfire/docs/current/reference -:gh-rsocket: https://github.com/rsocket -:gh-rsocket-java: {gh-rsocket}/rsocket-java -:gh-rsocket-extensions: {gh-rsocket}/rsocket/blob/master/Extensions -:doc-spring-boot: {docs-site}/spring-boot/docs/current/reference \ No newline at end of file +:docs-site: https://docs.spring.io +// Spring Framework +:docs-spring-framework: {docs-site}/spring-framework/docs/{spring-version} +:api-spring-framework: {docs-spring-framework}/javadoc-api/org/springframework +:docs-java: {docdir}/../../main/java/org/springframework/docs +:docs-kotlin: {docdir}/../../main/kotlin/org/springframework/docs +:docs-resources: {docdir}/../../main/resources +:spring-framework-main-code: https://github.com/spring-projects/spring-framework/tree/main +// Spring portfolio Links +:docs-spring-boot: {docs-site}/spring-boot/docs/current/reference +:docs-spring-gemfire: {docs-site}/spring-gemfire/docs/current/reference +// Third-party Links +:gh-rsocket: https://github.com/rsocket +:gh-rsocket-extensions: {gh-rsocket}/rsocket/blob/master/Extensions +:gh-rsocket-java: {gh-rsocket}/rsocket-java diff --git a/framework-docs/src/docs/asciidoc/integration.adoc b/framework-docs/src/docs/asciidoc/integration.adoc index 7b8aa0eb2f3..4574c8d2d46 100644 --- a/framework-docs/src/docs/asciidoc/integration.adoc +++ b/framework-docs/src/docs/asciidoc/integration.adoc @@ -5647,7 +5647,7 @@ GemFire is a memory-oriented, disk-backed, elastically scalable, continuously av active (with built-in pattern-based subscription notifications), globally replicated database and provides fully-featured edge caching. For further information on how to use GemFire as a `CacheManager` (and more), see the -{doc-spring-gemfire}/html/[Spring Data GemFire reference documentation]. +{docs-spring-gemfire}/html/[Spring Data GemFire reference documentation]. [[cache-store-configuration-jsr107]] diff --git a/framework-docs/src/docs/asciidoc/testing.adoc b/framework-docs/src/docs/asciidoc/testing.adoc index ebfc2c9978a..8be9060b955 100644 --- a/framework-docs/src/docs/asciidoc/testing.adoc +++ b/framework-docs/src/docs/asciidoc/testing.adoc @@ -7750,7 +7750,7 @@ to perform tests on Spring MVC controllers without a running server. For example `WebTestClient` can also connect to a live server and perform full end-to-end integration tests. This is also supported in Spring Boot where you can -{doc-spring-boot}/html/spring-boot-features.html#boot-features-testing-spring-boot-applications-testing-with-running-server[test a running server]. +{docs-spring-boot}/html/spring-boot-features.html#boot-features-testing-spring-boot-applications-testing-with-running-server[test a running server]. [[spring-mvc-test-server-filters]] @@ -7797,7 +7797,7 @@ for rendering JSON, XML, and other formats through `@ResponseBody` methods. Alternatively, you may consider the full end-to-end integration testing support from Spring Boot with `@SpringBootTest`. See the -{doc-spring-boot}/html/spring-boot-features.html#boot-features-testing[Spring Boot Reference Guide]. +{docs-spring-boot}/html/spring-boot-features.html#boot-features-testing[Spring Boot Reference Guide]. There are pros and cons for each approach. The options provided in Spring MVC Test are different stops on the scale from classic unit testing to full integration testing. To be diff --git a/framework-docs/src/docs/asciidoc/web/webmvc.adoc b/framework-docs/src/docs/asciidoc/web/webmvc.adoc index 4099b70806c..76f8dedb4f2 100644 --- a/framework-docs/src/docs/asciidoc/web/webmvc.adoc +++ b/framework-docs/src/docs/asciidoc/web/webmvc.adoc @@ -1,5 +1,4 @@ [[mvc]] -:chapter: mvc = Spring Web MVC :doc-spring-security: {docs-site}/spring-security/reference