The Asciidoc :toc: command creates a nicely formatted table of contents from the headings in the document:
:toc:
= Part 1
= Part 2
= Part 3
But I want my table of contents to link to other documents, instead of pulling from the document itself:
link:part1.adoc[Part 1]
link:part2.adoc[Part 2]
link:part3.adoc[Part 3]
Is there a way to create a TOC from links to other files? If not, what styles/blocks/whatever can I use to mimic the style of the TOC as closely as possible?
