Login  Register

Re: Injecting a directory listing

Posted by mojavelinux on Dec 27, 2019; 12:02am
URL: https://discuss.asciidoctor.org/Injecting-a-directory-listing-tp7445p7449.html

Antora is the solution within the Asciidoctor ecosystem you are looking for. It meets all the constraints you listed. If you have ideas for how to make it better, feel free to share them in the issue tracker or Gitter channel.

Antora can support generating a table of contents. It just doesn't do it by default. All the information is there that would be needed to make it. You can use a custom generator to accomplish that goal, or use the new feature in Antora 2.3 to retrieve a list of pages using a template helper and the content catalog. (All I'm pointing out is that it's possible). For more help, please ask in the Gitter channel.

Best,

-Dan

On Thu, Dec 26, 2019 at 8:04 AM Toolforger [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I have tried all of them.
I tried Hugo and Antora, and they were both unable to generate a hierarchical table of content.
I haven't tried Jekyll. It seems to be limited to Markdown for in-page markup, which is insufficient for the website's needs. I am not sure whether it is able to generate a hierarchical table of content.


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Injecting-a-directory-listing-tp7445p7447.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux