|
CONTENTS DELETED
The author has deleted this message.
|
|
Administrator
|
Patrick, The docinfo file you created is for DocBook output, but you are creating an HTML document. You either need to create a DocBook file: asciidoctor -b docbook book.adoc or you need to make a docinfo file for HTML named book-docinfo.html. Asciidoctor is simply injecting the docinfo content into the output document. See https://asciidoctor.org/docs/user-manual/#docinfo-file for details. Cheers, -Dan On Fri, Nov 23, 2018 at 9:44 AM Patrick Ben Koetter [via Asciidoctor :: Discussion] <[hidden email]> wrote: Greetings! -- Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
|
CONTENTS DELETED
The author has deleted this message.
|
|
Administrator
|
asciidoctor allows me to use *-docinfo.html, but this will only let me add content into the head-section: That's because this is still an open issue. See https://github.com/asciidoctor/asciidoctor/issues/1720
Asciidoctor allows every line of HTML that is generated to be customized. docinfo is just a convenience for injecting content into the output at fixed locations. If you want total control, you can pass a custom template, in this case for the document node. Here's an example of custom templates: https://github.com/asciidoctor/asciidoctor-backends/blob/master/haml/html5/document.html.haml Here's the precursor to a tutorial about how to use them: https://github.com/asciidoctor/asciidoctor.org/issues/80 Cheers, -Dan On Sat, Nov 24, 2018 at 5:47 AM Patrick Ben Koetter [via Asciidoctor :: Discussion] <[hidden email]> wrote: Dan, -- Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
|
Administrator
|
Another option is to just using an include directive at the top of the document that includes an AsciiDoc table that contains the revision history. -Dan On Sat, Nov 24, 2018 at 7:48 AM mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:
-- Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
|
That's what we do.
Here's an example of the source of a rev hist for one of our specs. Here's the output. - thomas |
| Free forum by Nabble | Edit this page |
