Getting started
Install the theme from npm, pinned, next to Astro and Starlight:
npm install --save-exact @pulzr/docs-themeThen add its plugins to Starlight:
import starlight from '@astrojs/starlight';import { pulzarPlugins } from '@pulzr/docs-theme';
starlight({ title: 'zigbee-bridge', plugins: pulzarPlugins({ project: 'zigbee-bridge' }),});| Key | Default | What |
|---|---|---|
project |
required | the project’s id, as in the project switcher |
license |
MIT |
the license the footer names |
validateLinks |
true |
fail the build on a broken internal link |
Headings in the display face
Section titled “Headings in the display face”Body text is Inter; headings are Outfit, as in the console.
Rust that rustdoc compiles
Section titled “Rust that rustdoc compiles”fn main() { println!("highlighted as Rust");}