Configuration

Two front-matter switches control the layout:

  • extra.toc — shows the right-hand table of contents (falls back to the site-wide config.extra.toc default).
  • extra.docs_root — set on a folder's _index.md to make that folder (and everything nested inside it) build its left-hand menu automatically. Files in the same folder become sibling links; subfolders become nested, auto-expanding groups. Leave it unset and the layout quietly collapses to a single centered column, unless extra.docs_nav is set manually instead.