Skip to main content

Module document

Module document 

Source
Expand description

A document: what a document file says to show — a site, a doc or slides — or a lone Markdown file, which is a doc of one chapter.

Structs§

Document
A loaded document: its title, its folder, what it is, and where it is served.
Entry
The document devpage was started with, re-read whenever its file changes, so / and the watcher follow the file without a restart. While the file is invalid, the last valid document stays in use and the error is kept to show in its place.
Narration
What a deck tells its narrator about the talk as a whole, as written in its document file: who it is for, what it should achieve, how it should sound, and how to say words a voice gets wrong.
NavLink
One link of a site’s navbar, as written: a label, an icon or both, and its target — a path relative to the document file, or an address on the web.
Pdf
A doc’s settings on paper.
Slide
One slide of a deck: its Markdown file, its notes — the text of its first <Notes>, if it has one — and that <Notes>’ delivery.

Enums§

Kind
What a document is, with its parts resolved to files.
KindName
Which kind a document file names, read without loading the document.
NavItem
An entry of a site’s navbar: a link, or a dropdown of links.
Paper

Functions§

kind_of
The kind a YAML file names in its top-level kind, when it is one of devpage’s three; any other file is not a document file.