Record

Context

Module PuduLangDocgen.Build.Site

type Context = {
  config: Configuration.Config,
  books: Array[Book],
  look: Theme.Look,
  history: Map[Str, Str],
  repository: Configuration.Contribution,
  global: Array[(Str, Docgen.Meta)],
  generator: Str,
  today: Str
}

View source

What every page of the site is framed with

Fields

Name Type Description
config Configuration.Config
books Array[Book]
look Theme.Look
history Map[Str, Str]
repository Configuration.Contribution
global Array[(Str, Docgen.Meta)]
generator Str
today Str
Name Description
rendered Every page rendered through the layout, with redirect pages standing alone.
files Site-wide files: tables of contents as JSON, the search index, the sitemap, and the cross-reference map.