asciidoctor / asciidoctor.org

:globe_with_meridians: Asciidoctor project site. Composed in AsciiDoc. Baked with Awestruct.
https://asciidoctor.org
Other
323 stars 803 forks source link

Maven documentation does not include how to set the snippets directory. #1002

Closed sasconsul closed 3 years ago

sasconsul commented 3 years ago

I think we need document and examples for defining the snippets directory. Here is what figured out that could be done to set the snippets directory. [I took me some time to guess it from a build.gradle file I found.]

`

org.asciidoctor asciidoctor-maven-plugin 1.5.8 output-html prepare-package process-asciidoc coderay html false ${project.build.directory}/generated-snippets

`

sasconsul commented 3 years ago

Sorry, folks. I just found the documentation in the restdoc manual from Spring.io in the "Using the Snippets" section of https://spring.io/guides/gs/testing-restdocs/