Aller au contenu
CtrlK

DocumentationVersioningConfig

Sur cette page
Cette référence API est générée à partir des commentaires TypeScript en anglais. Les noms, signatures et exemples correspondent au paquet publié.
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.