Skip to content

Manual Setup

Terminal window
pnpm add astro @astrojs/starlight starlight-blog

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',
}),
],
});

In src/content.config.ts, extend docsSchema() with blogSchema().