DocShell.Presentation.Link (DocShell v0.5.0)

Copy Markdown View Source

Carries a resolved link used by previous/next navigation and direct actions.

By the time a link reaches this struct, the projector has checked its target and converted any source document reference to a canonical site route. It is deliberately limited to a label and path so no renderer or framework state leaks into the portable site model.

Summary

Types

t()

A link label and absolute site or external HTTP(S) path.

Types

t()

@type t() :: %DocShell.Presentation.Link{path: String.t(), title: String.t()}

A link label and absolute site or external HTTP(S) path.