Skip to content

Intro

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

The graph config can be set in three different ways, each overriding the previous one:

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({
graphConfig: {
// Global graph configuration
}
})],
}),
],
})

Sections

General

Interaction

Rendering