Record

Toc

Module PuduLangDocgen.Navigation

type Toc = { items: Array[Docgen.TocItem], meta: Array[(Str, Docgen.Meta)] }

View source

Items of one table of contents with its own metadata

Fields

Name Type Description
items Array[Docgen.TocItem]
meta Array[(Str, Docgen.Meta)]
Name Description
parse A table of contents written as YAML, JSON, or Markdown headings. An object form holds `items` beside metadata such as `order` or `pdf`. Hrefs are kept as written; resolution happens against the published docset.