Home / Type/ WriteSitemapConfig Type — astro Architecture

WriteSitemapConfig Type — astro Architecture

Architecture documentation for the WriteSitemapConfig type/interface in write-sitemap.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  9855f5df_48ee_abfb_c738_05faa387f307["WriteSitemapConfig"]
  b5bc5d6f_1305_f171_dbec_6c8fd4472fcd["write-sitemap.ts"]
  9855f5df_48ee_abfb_c738_05faa387f307 -->|defined in| b5bc5d6f_1305_f171_dbec_6c8fd4472fcd
  style 9855f5df_48ee_abfb_c738_05faa387f307 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/integrations/sitemap/src/write-sitemap.ts lines 11–28

type WriteSitemapConfig = {
	filenameBase: string;
	hostname: string;
	sitemapHostname?: string;
	customSitemaps?: string[];
	sourceData: SitemapItem[];
	destinationDir: string;
	publicBasePath?: string;
	limit?: number;
	xslURL?: string;
	lastmod?: string;
	namespaces?: {
		news?: boolean;
		xhtml?: boolean;
		image?: boolean;
		video?: boolean;
	};
};

Frequently Asked Questions

What is the WriteSitemapConfig type?
WriteSitemapConfig is a type/interface in the astro codebase, defined in packages/integrations/sitemap/src/write-sitemap.ts.
Where is WriteSitemapConfig defined?
WriteSitemapConfig is defined in packages/integrations/sitemap/src/write-sitemap.ts at line 11.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free