Getting Started
A customized Astro Starlight theme for publishing docs and educational content.
Prerequisites
Section titled “Prerequisites”You will need to have a Starlight website set up. If you don’t have one yet, you can follow the “Getting Started” guide in the Starlight docs to create one.
Installation
Section titled “Installation”-
starlight-theme-galaxy
is a Starlight plugin. Install it by running the following command in your terminal:Terminal window npm install starlight-theme-galaxyTerminal window pnpm add starlight-theme-galaxyTerminal window yarn add starlight-theme-galaxy -
Configure the plugin in your Starlight configuration in the
astro.config.mjs
file.// astro.config.mjsimport starlight from '@astrojs/starlight'import { defineConfig } from 'astro/config'import starlightThemeGalaxy from 'starlight-theme-galaxy'export default defineConfig({integrations: [starlight({plugins: [starlightThemeGalaxy()],title: 'My Docs',}),],}) -
Start the development server to preview the theme in action.