Skip to content
CtrlK

DocumentationVersioningConfig

On this page
import type { DocumentationVersioningConfig } from "ardo/config"

type DocumentationVersioningConfig = {
    /** Active documentation version id for this build. */
    current: string;
    /** Major documentation versions available from the version switcher. */
    versions: DocumentationVersion[];
    /** Generate a static root redirect to the current version. Defaults to true. */
    rootRedirect?: boolean;
};

Properties

NameTypeRequiredDescription
currentstringYesActive documentation version id for this build.
versionsDocumentationVersion[]YesMajor documentation versions available from the version switcher.
rootRedirectbooleanNoGenerate a static root redirect to the current version. Defaults to true.