myst-cli
Version:
Command line tools for MyST
23 lines • 936 B
TypeScript
import type { SiteManifest } from 'myst-config';
import type { ISession } from '../../session/types.js';
import type { PageFrontmatter } from 'myst-frontmatter';
export type ManifestProject = Required<SiteManifest>['projects'][0];
export declare function manifestPagesFromProject(session: ISession, projectPath: string): Promise<{
title: string;
short_title?: string;
level: number;
slug?: string;
description?: string;
date?: string;
thumbnail?: string | null;
thumbnailOptimized?: string;
banner?: string | null;
bannerOptimized?: string;
tags?: string[];
enumerator?: string;
url?: string;
open_in_same_tab?: boolean;
}[]>;
export declare function manifestTitleFromProject(session: ISession, projectPath: string): string;
export declare function indexFrontmatterFromProject(session: ISession, projectPath: string): PageFrontmatter;
//# sourceMappingURL=projectManifest.d.ts.map