Documentation page under the hood

Hey… i just started a “frontend-mockup” for a documentation part in our website… similar to readthedocs, gitbook, mkdocs, bookstack, mdbook, retype, etc…
(left menu for current page, right menu for current paragraph)

Now i’m thinking about the underlaying kirby/php code…
i am not sure about the way i should structure it…
my first guess is: build a template that reads content + position in the file hierarchy (like parent/sub folder for parent/sub-item).

what do you think?

You’re probably looking for the tree menu Menus | Kirby CMS?

Looks promising, thx a lot