Regarding the features of DokuWiki, I recommend the site export plugin (primarily because I made it, and we also use it for our documentation).
You can create chapters in your book as a regular page on your wiki. When it comes to combining them into different books, create a page called "toc" in a different namespace. It has the following syntax (see github page for details):
* [[namespace: chapter1]]
* [[namespace: chapter1.1]]
* [[namespace: chapter1.2]]
* [[namespace: chapter2]]
* [[namespace: chapter2.1]]
* [[namespace: chapter2.2]]
Now you can export this namespace with the roc option turned on and merged into one document. You can also use PDF export with custom book styles now (this is what we do first).
source
share