|
Hi all,
I'm using the Gradle AsciiDoctor plugin, and I have a setup like the Griffon setup, where I have one AsciiDoc file, called index.adoc, and I use the include directive to import all other adoc files individually. However I create a couple of new AsciiDoc files every day for this project, and having to manually add them to the index.adoc is getting a bit cumbersome, especially since I also sometimes forget to add them. To fix this, I have a bash script in place to generate the index.adoc, but, while it works, it doesn't feel like the right approach.
So, I was wondering if there is a way to combine all adoc files in a directory without having to use explicit includes? Either with some AsciiDoc directive or with the Gradle support?
Thanks,
Erik
|