SiteVersion
type SiteVersion =
{
Label: string
Prefix: string
IsLatest: bool
}| Assembly | Nacara.Plugin.Versions |
One version of the documentation, as deployed.
Fields
Functions and values
create (label: string) (prefix: string) : SiteVersion
create (label: string) (prefix: string) : SiteVersionA version deployed under a prefix of its own.
| Parameter | |
|---|---|
label | What the switcher calls it - 2.0, next. |
prefix | The first segment of its URLs, and what --version wrote them under. |
latest (version: SiteVersion) : SiteVersion
latest (version: SiteVersion) : SiteVersionThe version a reader arriving without one should be reading.
| Parameter | |
|---|---|
version | The version being described. Any other is shown with a notice saying it is not the current one. |
root (label: string) : SiteVersion
root (label: string) : SiteVersionThe version served from the site root, under no prefix.
| Parameter | |
|---|---|
label | What the switcher calls it. |