Expand description
Link checking: every link, image and diagram target a page holds must reach a file in the served folder — and a heading on it, when it names one — every external address must answer, and every diagram must draw.
Structs§
- Preview
- The preview’s checks: what each page shows above itself as it is served. One per devpage process, shared by every page — or, in server mode, one per version.
Traits§
- Report
- Where the preview tells someone about a problem it has just found: the
terminal in
devpage, a recorder in tests.
Functions§
- document
- Checks the folder’s entry document and every page and document reachable
from it by links inside the served folder, each design it reaches as
designs— the folder’s design store — holds it. External links are checked whencheckeris given. - drawn_
from - Every file a slide of the deck at
deckis drawn from, in path order: the deck’s file, its slides, what each slide embeds — an image, a design and everythingdesignsresolved it from, a font folder it listed among them, another deck’s slide PNG and that deck’s files in turn — and the deck’s widgets folder with every widget in it and every module they import. Each folder itself is among them: a font added to a design’s font folder changes the design, and a widget added, renamed or removed changes which tags on a slide are widgets. An embedded file that isn’t there yet is named as it would be, so its arrival reaches the deck. A link a slide only points at is not what it is drawn from. A deck that can’t be loaded is drawn from its file. - files
- Every file the check follows from the folder’s entry document, each once
and in path order: the document file, its pages, chapters or slides and every page
and document they reach, the images and files their links name, a design’s
imports, images, themes and fonts, the logo, and the project widgets with
every module they import — what the document is made of, and nothing else
beside it. External addresses are not followed. A design’s files are the
ones
designs, the folder’s design store, resolved it from.