DocumentationVersion
On this page
import type { DocumentationVersion } from "ardo/config"
type DocumentationVersion = {
/** Stable version id, usually the major line such as "v3" or "v2". */
id: string;
/** Human-readable label shown in the version switcher. Defaults to id. */
label?: string;
/** Public path for this major documentation version, such as "/v3/". */
path: string;
};
Properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Stable version id, usually the major line such as "v3" or "v2". |
label | string | No | Human-readable label shown in the version switcher. Defaults to id. |
path | string | Yes | Public path for this major documentation version, such as "/v3/". |