Files
hotdog-cms/packs/docs/partials
jcoffey-dev dd7cd27235
ci / go (pull_request) Successful in 54s
ci / editor-ui (pull_request) Successful in 1m14s
Navigation trees, and collections at an address of their own
`nav "docs-nav" .` reads a tree from a data file and places the page in it:
entries are page source files, headings over more entries (with a page of
their own or not, as deep as needed), or links elsewhere. It gives the page's
trail of headings and its previous and next pages in reading order, a
heading's page before what's under it, as MkDocs does. Entries whose page
isn't in the build are left out. The docs pack's first format (parts and page
names) reads as a tree.

`path:` on a collection puts its pages elsewhere: `path: /` sits a docs site's
pages at the root of its own host, so docs moved from MkDocs keep their
addresses. Links to source files follow the move. Search indexes, feeds and
calendars stay at /<collection>/ where scripts and the endpoint look for them.

The docs pack (1.3.0) draws everything from the tree: a sidebar whose
headings fold away (no script: <details>) with the part being read open, a
breadcrumb, a page per heading listing what's under it, and previous and next
links that now pass through a part's own page.
2026-10-12 20:39:34 -07:00
..