You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/docs/asciidoc/getting-started.adoc
+4-4
Original file line number
Diff line number
Diff line change
@@ -171,12 +171,12 @@ This will automatically configure the `snippets` attribute for use in your `.ado
171
171
It will also allow you to use the `operation` block macro.
172
172
<4> Add a dependency on `spring-restdocs-mockmvc` in the `testImplementation` configuration.
173
173
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.
174
-
<5> Configure a property to define the output location for generated snippets.
175
-
<6> Configure the `test` task to add the snippets directory as an output.
174
+
<5> Configure a `snippetsDir` property that defines the output location for generated snippets.
175
+
<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].
176
176
<7> Configure the `asciidoctor` task.
177
-
<8> Configure the snippets directory as an input.
177
+
<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].
178
178
<9> Configure the use of the `asciidoctorExt` configuration for extensions.
179
-
<10> Make the task depend on the test task so that the tests are run before the documentation is created.
179
+
<10> Make the task depend on the `test` task so that the tests are run before the documentation is created.
0 commit comments