Skip to content

Tree options

Latest
Compare
Choose a tag to compare
@tombreit tombreit released this 14 May 15:27

(New) tree options for pagetree:

  • {{ pagetree(all) }}: Render the whole pagetree. This is the default tree option, the (all) parameter can also be omitted.
  • {{ pagetree(children) }}: Render only direct children of the current page
  • {{ pagetree(siblings) }}: Render only direct siblings of the current page
  • {{ pagetree(subtree) }}: Render the subtree which contains the current page

https://tombreit.github.io/mkdocs-pagetree-plugin/#notes