Page

tcmts.site.Page · #asl22v6z · type

A page of the docs site.

export interface Page {
  /** where it's kept, relative to the repository (its pages are the codebase's, in docs/) */
  src: string;
  /** output file name */
  file: string;
  /** menu label */
  label: string;
  /** section number (0 for the index) */
  n: number;
  /** the docs' section it's in (Start, Guides, ...) */
  section?: string;
}

used by