Manual Setup
Install dependencies
Section titled “Install dependencies”pnpm add astro @astrojs/starlight starlight-blogEnable the plugin
Section titled “Enable the plugin”In astro.config.mjs, enable the Starlight blog plugin:
import { defineConfig } from 'astro/config';import starlight from '@astrojs/starlight';import starlightBlog from 'starlight-blog';
export default defineConfig({ integrations: [ starlight({ plugins: [starlightBlog()], title: 'My Docs', }), ],});Extend the schema
Section titled “Extend the schema”In src/content.config.ts, extend docsSchema() with blogSchema().