@alauda/doom
Version:
Doctor Doom making docs.
17 lines (16 loc) • 617 B
TypeScript
import { type RspressPlugin } from '@rspress/core';
export type ChangeFreq = 'always' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'never';
export type Priority = '0.0' | '0.1' | '0.2' | '0.3' | '0.4' | '0.5' | '0.6' | '0.7' | '0.8' | '0.9' | '1.0';
export interface Sitemap {
loc: string;
lastmod?: string;
changefreq?: ChangeFreq;
priority?: Priority;
}
export interface Options {
domain?: string;
customMaps?: Record<string, Sitemap>;
defaultPriority?: Priority;
defaultChangeFreq?: ChangeFreq;
}
export declare function sitemapPlugin(options?: Options): RspressPlugin;