Wiki source code of Navigation
Last modified by Lucas Charpentier on 2026/11/12 15:15
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Readers find their way through a wiki with the breadcrumb above each page, the navigation panels and the Page Index, which all display a tree built with the [[Tree Widget>>doc:extensions:Extension.Tree Widget]]. The nodes of such a tree are loaded as the reader opens them, so it stays usable on a large wiki. | ||
| 2 | |||
| 3 | That building block is available to extensions. The [["tree" macro>>doc:documentation.xs.dev.navigation.tree-macro.WebHome]] displays any hierarchy as a tree, either written in its content or served node by node by a script, and it is what the [["documentTree" macro>>doc:documentation.xs.user.base.page.edit.documenttree-macro.WebHome]] uses to display the pages of the wiki. |