Skip to content

Commit f7605a4

Browse files
committed
Merge branch '2.0.x'
Closes gh-893
2 parents b9d3853 + 9471dd0 commit f7605a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/src/docs/asciidoc/getting-started.adoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,12 @@ This will automatically configure the `snippets` attribute for use in your `.ado
116116
It will also allow you to use the `operation` block macro.
117117
<4> Add a dependency on `spring-restdocs-mockmvc` in the `testImplementation` configuration.
118118
If you want to use `WebTestClient` or REST Assured rather than MockMvc, add a dependency on `spring-restdocs-webtestclient` or `spring-restdocs-restassured` respectively instead.
119-
<5> Configure a property to define the output location for generated snippets.
120-
<6> Configure the `test` task to add the snippets directory as an output.
119+
<5> Configure a `snippetsDir` property that defines the output location for generated snippets.
120+
<6> Make Gradle aware that running the `test` task will write output to the snippetsDir. This is required for https://docs.gradle.org/current/userguide/incremental_build.html[incremental builds].
121121
<7> Configure the `asciidoctor` task.
122-
<8> Configure the snippets directory as an input.
122+
<8> Make Gradle aware that running the task will read input from the snippetsDir. This is required for https://docs.gradle.org/current/userguide/incremental_build.html[incremental builds].
123123
<9> Configure the use of the `asciidoctorExt` configuration for extensions.
124-
<10> Make the task depend on the test task so that the tests are run before the documentation is created.
124+
<10> Make the task depend on the `test` task so that the tests are run before the documentation is created.
125125

126126

127127

0 commit comments

Comments
 (0)