From 1199304e43ba8d541eebd5b8f1f57002ab44ab96 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Thu, 12 Oct 2017 01:51:04 +0900 Subject: [PATCH] Fix broken links --- .../src/main/asciidoc/build-tool-plugins.adoc | 2 +- .../src/main/asciidoc/getting-started.adoc | 2 +- .../src/main/asciidoc/howto.adoc | 2 +- .../src/main/asciidoc/index.adoc | 16 ++++++++-------- .../main/asciidoc/production-ready-features.adoc | 2 +- .../src/main/asciidoc/spring-boot-cli.adoc | 2 +- .../src/main/asciidoc/spring-boot-features.adoc | 2 +- .../src/main/asciidoc/using-spring-boot.adoc | 4 ++-- .../generateAutoConfigurationClassTables.groovy | 2 +- .../src/main/groovy/generateStarterTables.groovy | 4 ++-- .../src/main/asciidoc/managing-dependencies.adoc | 4 ++-- 11 files changed, 21 insertions(+), 21 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc index f15123d43701..c9b06997134e 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc @@ -385,7 +385,7 @@ Here is a typical example repackage: [[build-tool-plugins-whats-next]] == What to read next If you're interested in how the build tool plugins work you can -look at the {github-code}/spring-boot-tools[`spring-boot-tools`] module on GitHub. More +look at the {github-code}/spring-boot-project/spring-boot-tools[`spring-boot-tools`] module on GitHub. More technical details of the <> are covered in the appendix. diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc index 8823d96e98a4..44ab1bc6c63b 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc @@ -270,7 +270,7 @@ You can download the Spring CLI distribution from the Spring software repository Cutting edge http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-cli/[snapshot distributions] are also available. -Once downloaded, follow the {github-raw}/spring-boot-cli/src/main/content/INSTALL.txt[INSTALL.txt] +Once downloaded, follow the {github-raw}/spring-boot-project/spring-boot-cli/src/main/content/INSTALL.txt[INSTALL.txt] instructions from the unpacked archive. In summary: there is a `spring` script (`spring.bat` for Windows) in a `bin/` directory in the `.zip` file, or alternatively you can use `java -jar` with the `.jar` file (the script helps you to be sure that the diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc index 350f03376318..13d3f260607b 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -2449,7 +2449,7 @@ Jackson's date serialization configuration settings. If you use a Maven build that inherits directly or indirectly from `spring-boot-dependencies` (for instance `spring-boot-starter-parent`) but you want to override a specific third-party dependency you can add appropriate `` elements. Browse -the {github-code}/spring-boot-dependencies/pom.xml[`spring-boot-dependencies`] +the {github-code}/spring-boot-project/spring-boot-dependencies/pom.xml[`spring-boot-dependencies`] POM for a complete list of properties. For example, to pick a different `slf4j` version you would add the following: diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/index.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/index.adoc index 47eb6c2c6b67..06516449f063 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/index.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/index.adoc @@ -18,14 +18,14 @@ Phillip Webb; Dave Syer; Josh Long; Stéphane Nicoll; Rob Winch; Andy Wilkinson; :github-wiki: https://github.com/{github-repo}/wiki :github-master-code: https://github.com/{github-repo}/tree/master :sc-ext: java -:sc-spring-boot: {github-code}/spring-boot/src/main/java/org/springframework/boot -:sc-spring-boot-autoconfigure: {github-code}/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure -:sc-spring-boot-actuator: {github-code}/spring-boot-actuator/src/main/java/org/springframework/boot/actuate -:sc-spring-boot-actuator-autoconfigure: {github-code}/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure -:sc-spring-boot-cli: {github-code}/spring-boot-cli/src/main/java/org/springframework/boot/cli -:sc-spring-boot-devtools: {github-code}/spring-boot-devtools/src/main/java/org/springframework/boot/devtools -:sc-spring-boot-test: {github-code}/spring-boot-test/src/main/java/org/springframework/boot/test -:sc-spring-boot-test-autoconfigure: {github-code}/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure +:sc-spring-boot: {github-code}/spring-boot-project/spring-boot/src/main/java/org/springframework/boot +:sc-spring-boot-autoconfigure: {github-code}/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure +:sc-spring-boot-actuator: {github-code}/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate +:sc-spring-boot-actuator-autoconfigure: {github-code}/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure +:sc-spring-boot-cli: {github-code}/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli +:sc-spring-boot-devtools: {github-code}/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools +:sc-spring-boot-test: {github-code}/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test +:sc-spring-boot-test-autoconfigure: {github-code}/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure :dc-ext: html :dc-root: http://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/api :dc-spring-boot: {dc-root}/org/springframework/boot diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc index 329ad50111e2..1c1dcddddf36 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc @@ -17,7 +17,7 @@ unless you enable Spring MVC as well.>> [[production-ready-enabling]] == Enabling production-ready features -The {github-code}/spring-boot-actuator[`spring-boot-actuator`] module provides all of +The {github-code}/spring-boot-project/spring-boot-actuator[`spring-boot-actuator`] module provides all of Spring Boot's production-ready features. The simplest way to enable the features is to add a dependency to the `spring-boot-starter-actuator` '`Starter`'. diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc index cddf6c22c3c2..da22e592ec55 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc @@ -469,7 +469,7 @@ further information. [[cli-whats-next]] == What to read next -There are some {github-code}/spring-boot-cli/samples[sample groovy +There are some {github-code}/spring-boot-project/spring-boot-cli/samples[sample groovy scripts] available from the GitHub repository that you can use to try out the Spring Boot CLI. There is also extensive Javadoc throughout the {sc-spring-boot-cli}[source code]. diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index ff2c782ca921..8c137d9e006f 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -6650,7 +6650,7 @@ when relevant classes are found and when you have not declared your own `@Config You can browse the source code of {sc-spring-boot-autoconfigure}[`spring-boot-autoconfigure`] to see the `@Configuration` classes that we provide (see the -{github-code}/spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories[`META-INF/spring.factories`] +{github-code}/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories[`META-INF/spring.factories`] file). diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc index 86ab212dd6c5..e1887073419c 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc @@ -102,7 +102,7 @@ add the following to your `pom.xml`. ---- -TIP: Check the {github-code}/spring-boot-dependencies/pom.xml[`spring-boot-dependencies` pom] +TIP: Check the {github-code}/spring-boot-project/spring-boot-dependencies/pom.xml[`spring-boot-dependencies` pom] for a list of supported properties. @@ -313,7 +313,7 @@ or swap specific technical facets: include::../../../target/generated-resources/technical-starters.adoc[] TIP: For a list of additional community contributed starters, see the -{github-master-code}/spring-boot-starters/README.adoc[README file] in the +{github-master-code}/spring-boot-project/spring-boot-starters/README.adoc[README file] in the `spring-boot-starters` module on GitHub. diff --git a/spring-boot-project/spring-boot-docs/src/main/groovy/generateAutoConfigurationClassTables.groovy b/spring-boot-project/spring-boot-docs/src/main/groovy/generateAutoConfigurationClassTables.groovy index 1e18c4ae5670..9c34fc42b1fe 100644 --- a/spring-boot-project/spring-boot-docs/src/main/groovy/generateAutoConfigurationClassTables.groovy +++ b/spring-boot-project/spring-boot-docs/src/main/groovy/generateAutoConfigurationClassTables.groovy @@ -14,7 +14,7 @@ def generateAutoConfigurationClassTable(String module, File factories, PrintWrit getAutoConfigurationClasses(factories).each { writer.println '' - writer.println "| {github-code}/$module/src/main/java/$it.path.{sc-ext}[`$it.name`]" + writer.println "| {github-code}/spring-boot-project/$module/src/main/java/$it.path.{sc-ext}[`$it.name`]" writer.println "| {dc-root}/$it.path.{dc-ext}[javadoc]" } diff --git a/spring-boot-project/spring-boot-docs/src/main/groovy/generateStarterTables.groovy b/spring-boot-project/spring-boot-docs/src/main/groovy/generateStarterTables.groovy index 8c343be1a3cc..82bfe34e3cfc 100644 --- a/spring-boot-project/spring-boot-docs/src/main/groovy/generateStarterTables.groovy +++ b/spring-boot-project/spring-boot-docs/src/main/groovy/generateStarterTables.groovy @@ -11,7 +11,7 @@ def getStarters(File dir) { 'name': name, 'description': postProcessDescription(pom.description.text()), 'dependencies': dependencies, - 'pomUrl': "{github-code}/spring-boot-starters/$name/pom.xml" + 'pomUrl': "{github-code}/spring-boot-project/spring-boot-starters/$name/pom.xml" ] } } @@ -73,4 +73,4 @@ def writeTable(String name, def starters) { def starters = getStarters(new File(project.build.directory, 'external-resources/starter-poms')) writeTable('application-starters', starters.findAll { isApplicationStarter(it) }) writeTable('production-starters', starters.findAll { isProductionStarter(it) }) -writeTable('technical-starters', starters.findAll { isTechnicalStarter(it) }) \ No newline at end of file +writeTable('technical-starters', starters.findAll { isTechnicalStarter(it) }) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/managing-dependencies.adoc b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/managing-dependencies.adoc index 31981561b38f..7d2a41a08aef 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/managing-dependencies.adoc +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/managing-dependencies.adoc @@ -22,7 +22,7 @@ include::../gradle/managing-dependencies/dependencies.gradle[tags=dependencies] The `spring-boot-dependencies` bom that is automatically imported when the dependency management plugin is applied uses properties to control the versions of the dependencies -that it manages. Please refer to the {github-code}/spring-boot-dependencies/pom.xml[bom] +that it manages. Please refer to the {github-code}/spring-boot-project/spring-boot-dependencies/pom.xml[bom] for a complete list of these properties. To customize a managed version you set its corresponding property. For example, to @@ -43,4 +43,4 @@ be done with care. === Learning more To learn more about the capabilities of the dependency management plugin, please refer to -its {dependency-management-plugin-documentation}[documentation]. \ No newline at end of file +its {dependency-management-plugin-documentation}[documentation].