-
Notifications
You must be signed in to change notification settings - Fork 1
Automatic Wiki TOC with Manual Override
It is good for a wiki to have a Table Of Contents (TOC). A tree structured organization of content.
Such TOC's are convenient for readers. In particular for readers who want to study all or at least a large part of the content.
It is a pain to have to manually maintain such a table of contents.
Many of the interfaces to automatically generate such a table of contents are suboptimal. E.g. in Atlassian's Confluence wiki, you can set a parent for a page, and there is a GUI where you can drag pages and subtrees around and play some beneath other pages. But it can be a pain to have to set these things up.
Then, of course, there is a question of how to arrange or sort the list of pages and/or subtrees beneath any particular parent node.
My old twiki tool started off fully automatic. But instead of dividing the tree structure with the page leaf items, it would generate a TOC tree, with links to the pages. If no tree structure was obvious, a flat list.
Original Unordered Collection of Pages
- klpjkjk
- root topic
- topic2
- kljh uhh
- topic1
- jklhh
- kljj
- iojho
- root topic
- topic1
- subtopics: kljh iojho uhh
- topic2
- subtopics: jklhh kljj klpjkjk
- topic1
TBD: I need to re-create this TOC tree tool for the GitHub wiki
- The Usual Good Stuff*: of course, you want aspects of the TOC tree structure to be reflected as links inside the pages, such as Up/Next/Back.
Note that you can have several TOC-trees for the same set of pages, whether the full set, or overlapping subsets. So such navigation links might has several different flavors or groupings Within the same page presented to the user. Or, the actual content page might be wrapped or framed by a page that that has the navigation links of one or multiple flavors.
Home - top of HFIM-BS wiki, including Topics. • Incoming, Catch All, not yet Organized Content.