Fork me on GitHub
#cljdoc
<
2020-08-01
>
Shantanu Kumar05:08:18

Currently, is there a way to add a Table-of-contents to the docs? Either derived or manually? I’ve seen https://github.com/cljdoc/cljdoc/issues/20 though.

lread17:08:54

@kumarshantanu, if you mean a table of contents within a doc, yes you can do this if you write your doc in the asciidoctor format. Example: https://cljdoc.org/d/lread/cljdoc-exerciser/1.0.30/doc/document-tests/asciidoctor-features

Shantanu Kumar19:08:25

@UE21H2HHD I meant, the ToC appearing as nested items in the (left) navigation pane. I’ll check the cljdoc-exerciser repo.

lread23:08:08

ah then no, cljdoc does not currently support exposing a doc’s internal toc in the left nav pane.