From 5f49aa273240dfe2ca676a5319526a8a7143ab2a Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 3 Feb 2015 17:13:53 +0000 Subject: [PATCH] Fix formatting of a code block in the README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index fc6e7feb..328f28a0 100644 --- a/README.md +++ b/README.md @@ -98,10 +98,12 @@ ext { Configure the `test` task with a system property to control the location to which the snippets are generated: +```groovy test { systemProperty 'org.springframework.restdocs.outputDir', generatedDocumentation outputs.dir generatedDocumentation } +``` Configure the `asciidoctor` task. The `generated` attribute is used to provide easy access to the generated snippets: