Saltar al contenido
CtrlK

DocumentationVersioningConfig

En esta página
Esta referencia de la API se genera a partir de los comentarios de TypeScript en inglés. Los nombres, las firmas y los ejemplos corresponden al paquete publicado.
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.