diff --git a/docs/src/docs/asciidoc/getting-started.adoc b/docs/src/docs/asciidoc/getting-started.adoc index a0413453..36ca53bf 100644 --- a/docs/src/docs/asciidoc/getting-started.adoc +++ b/docs/src/docs/asciidoc/getting-started.adoc @@ -98,22 +98,13 @@ the configuration are described below. <2> - org.apache.maven.plugins - maven-surefire-plugin - - - **/*Documentation.java - - - - <3> org.asciidoctor asciidoctor-maven-plugin 1.5.3 generate-docs - prepare-package <4> + prepare-package <3> process-asciidoc @@ -124,7 +115,7 @@ the configuration are described below. - <5> + <4> org.springframework.restdocs spring-restdocs-asciidoctor {project-version} @@ -138,12 +129,10 @@ the configuration are described below. REST Assured rather than MockMvc, add a dependency on `spring-restdocs-restassured` and `com.jayway.restassured:restassured` (REST Assured 2) or `io.rest-assured:rest-assured` (REST Assured 3) instead. -<2> Add the SureFire plugin and configure it to include files whose names end with - `Documentation.java`. -<3> Add the Asciidoctor plugin. -<4> Using `prepare-package` allows the documentation to be +<2> Add the Asciidoctor plugin. +<3> Using `prepare-package` allows the documentation to be <>. -<5> Add `spring-restdocs-asciidoctor` as a dependency of the Asciidoctor plugin. This +<4> Add `spring-restdocs-asciidoctor` as a dependency of the Asciidoctor plugin. This will automatically configure the `snippets` attribute for use in your `.adoc` files to point to `target/generated-snippets`. It will also allow you to use the `operation` block macro. @@ -190,7 +179,7 @@ the configuration are described below. documentation is created. -[[getting-started-build-configuration-gradle-packaging-the-documentation]] +[[getting-started-build-configuration-packaging-the-documentation]] ==== Packaging the documentation You may want to package the generated documentation in your project's jar file, for