From b01eb41208a9913afb275262f3889f435ee118bb Mon Sep 17 00:00:00 2001 From: Benjamin Muschko Date: Tue, 9 Jan 2018 16:53:11 -0700 Subject: [PATCH] Generate anchor for sections to easier link creation and reference (#807) --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 3e5b94b718..a13faf0494 100755 --- a/build.gradle +++ b/build.gradle @@ -306,7 +306,7 @@ configureGroovydoc(groovydoc) asciidoctor { sourceDir = file("docs") logDocuments = true - attributes "source-highlighter": "coderay", "linkcss": true, "revnumber": variantLessVersion + attributes "source-highlighter": "coderay", "linkcss": true, "sectanchors": true, "revnumber": variantLessVersion // also treats the included specs as inputs inputs.dir file("spock-specs/src/test/groovy/org/spockframework/docs") inputs.dir file("spock-spring/src/test/groovy/org/spockframework/docs")