@docfy/ember-vite
Version:
Vite plugin for Docfy Ember integration with @embroider/vite
14 lines • 631 B
TypeScript
import type { PluginContext } from 'rollup';
import type { PageContent } from '@docfy/core/lib/types';
/**
* Generate the template path for a markdown page URL
* This mirrors the existing Ember CLI behavior from DocfyBroccoli.build()
* Templates should be in app/templates/ for Ember to find them
*/
export declare function generateTemplatePath(url: string): string;
/**
* Generate a GJS template for a markdown page
* This ensures compatibility with Ember's template resolution
*/
export declare function generatePageTemplate(page: PageContent, pluginCtx: PluginContext): string;
//# sourceMappingURL=gjs-generator.d.ts.map