@signalwire/docusaurus-plugin-llms-txt
Version:
Generate Markdown versions of Docusaurus HTML pages and an llms.txt index file
18 lines • 708 B
TypeScript
/**
* Content classification logic
* Classify routes as docs/blog/pages and apply include/exclude rules
*/
import type { PluginRouteConfig } from '@docusaurus/types';
import { type ContentType } from '../constants';
import type { PluginOptions } from '../types';
/**
* Classify a route by its plugin type, with fallback heuristics for routes without plugin info
* @internal
*/
export declare function classifyRoute(route: PluginRouteConfig): ContentType;
/**
* Determines if a route should be processed based on plugin configuration
* @internal
*/
export declare function shouldProcessRoute(route: PluginRouteConfig, options: PluginOptions): boolean;
//# sourceMappingURL=content-classifier.d.ts.map