Skip to content

Intro

This page contains information pertaining the configuration of the sitemap generation process, if you are looking for ways to configure the graph component, see the graph configuration.

The sitemap configuration can be set in one of two ways:

astro.config.mjs
import starlight from '@astrojs/starlight'
import { defineConfig } from 'astro/config'
import starlightSiteGraph from 'starlight-site-graph'
export default defineConfig({
integrations: [
starlight({
plugins: [starlightSiteGraph({
sitemapConfig: {
// Global sitemap configuration
}
})],
}),
],
})

Sections