Skip to content

Commit

Permalink
Generate anchor for sections to easier link creation and reference (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
bmuschko authored and leonard84 committed Jan 9, 2018
1 parent 2cc4107 commit b01eb41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit b01eb41

Please sign in to comment.