Can Asciidoctor display a separate HTML page in each chapter?

If I have something like the following:

The Manual ==================== Gregg Bolinger v1.0, 2014-15 :doctype: book :icons: font :imagesdir: images Preamble paragraph include::chapter1.ad[] include::chapter2.ad[] 

I would like each chapter to be displayed in its own HTML file and linked to the TOC, and not to all that are in the same book.html, for example. It seems that it already generates separate files, but this is only because they are in the source directory. It still combines everything into one HTML page. I use the Gradle Asciidoctor plugin if this helps to know.

+6
source share
1 answer

If there is something in the gradle plugin that does chunked html, asciidoctor does not currently process the output stream. This is a list of things to do , but it is not done yet. However, if you look at this problem, someone created a custom script / converter, although perhaps this will work for your case as well.

+2
source

Source: https://habr.com/ru/post/981579/


All Articles