Plugin congiguration.

interface SitemapPluginOptions {
    baseUrl: string;
    changeFreq?:
        | "always"
        | "never"
        | "hourly"
        | "daily"
        | "weekly"
        | "monthly"
        | "yearly";
    filename?: string;
    priority?: number;
}

Properties

baseUrl: string

The base URL of the documentation site (e.g., https://yourdomain.com/docs)

changeFreq?:
    | "always"
    | "never"
    | "hourly"
    | "daily"
    | "weekly"
    | "monthly"
    | "yearly"

The frequency at which the content changes. Defaults to 'weekly'

filename?: string

The filename for the sitemap. Defaults to 'sitemap.xml'

priority?: number

The priority of the pages. Defaults to 0.5