@mdfriday/foundry
Version:
The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.
19 lines • 533 B
TypeScript
import { Fs } from '../../../domain/fs/type';
/**
* SourceDescriptor describes where to find the config (e.g. config.toml etc.)
*/
export interface SourceDescriptor {
/**
* Get the filesystem
*/
fs(): Fs;
/**
* Get the filename - RelPath to the config file to use, e.g. /my/project/config.toml
*/
filename(): string;
}
/**
* Create a new SourceDescriptor
*/
export declare function newSourceDescriptor(fs: Fs, filename: string): SourceDescriptor;
//# sourceMappingURL=sourcedescriptor.d.ts.map