Login  Register

Re: Gradle asciidoctor plugin v2 not working

Posted by DocEvaluator on Apr 25, 2019; 11:25am
URL: https://discuss.asciidoctor.org/Gradle-asciidoctor-plugin-v2-not-working-tp6865p6871.html

Apart from my typo with the wrong filename... I now understand why my original build.gradle (before I made a simple test.adoc example for this forum) was not working:

The Gradle plugin can not work with filenames, which start with underline. So "_index.adoc" is not working, while "index.adoc" works. Funny... I hope to find the time to write a bug report, but I am not sure if I still have a Github account.

Unfortunately all our asciidoc projects have a central "_index.adoc" file, which is just used to include all other adoc files, which represent the main chapters.