Expand description
The served folder: the one place that decides whether a path is part of what devpage serves. Every link, chapter, slide, widget folder, logo or URL that names a file is resolved here — symbolic links followed — and anything that lands outside the folder is refused. A leaf: it depends on nothing else in devpage.
Structs§
- Served
Folder - The canonical folder devpage serves from, the boundary around it, and the
prefix its addresses are under — its mount: empty for a local devpage
and bundled mode,
/d/<id>or/d/<id>/v/<n>for a version in server mode. It is made once, where devpage starts serving a folder, and passed to everything loaded from it, so the mount reaches every address.
Traits§
- Served
- What a served folder is given as: one already made, which keeps its mount,
or a bare path — at the edges, the command line and tests — served at
/.