cljdoc

https://cljdoc.org/ & https://github.com/cljdoc/cljdoc
Shantanu Kumar 2020-08-01T05:13:18.001200Z

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.

lread 2020-08-01T17:26:54.004300Z

@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 Kumar 2020-08-02T19:42:25.004600Z

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

lread 2020-08-02T23:20:08.007900Z

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