Skip to content

Backlinks

This page provides information on how you can configure the backlinks component in the sidebar.

General configuration

To configure the backlinks component in the sidebar, refer to the Starlight Site Graph backlinks configuration for more information.

Examples

Some common examples are provided below to showcase how you might configure the backlinks component in the sidebar.

astro.config.mjs
import starlight from '@astrojs/starlight'
import { defineConfig } from 'astro/config'
import starlightThemeObsidian from 'starlight-theme-obsidian'
export default defineConfig({
integrations: [
starlight({
plugins: [starlightThemeObsidian({
backlinksConfig: {
visibilityRules: []
}
})],
title: 'My Docs',
}),
],
})