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.
- 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.
- 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.
- Kind
Name - 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§
- download_
name - The file a document is saved as when nothing names one — what
devpage pdfanddevpage videowrite and what a version downloads as: itstitle, with the characters a file name can’t hold replaced by-, andextension. - downloads_
as - What a published document of
kinddownloads as — a doc or slides printed as a PDF, a design painted as its PNG — as its extension and media type;Nonefor a kind that has no download, a site. The one rule for it, the server’s anddevpage download’s. - 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.