Installation
In the project’s docs/:
npm install github:max-models/starlight-theme#v0.1.0docs/astro.config.mjs then only holds what is particular to the project:
import { defineDocs } from '@max-models/starlight-theme';
export default defineDocs({ repo: 'simgeometry', title: 'simgeometry', description: 'Shapes, structured grids, and domains for numerical simulations.', pythonPackage: 'simgeometry', nav: [ { label: 'Getting started', link: '/getting-started/installation/' }, { label: 'Tutorials', link: '/tutorials/' }, { label: 'API', link: '/api/simgeometry/', section: '/api/' }, ], sidebar: [/* ... */],});Inline math such as works in every page, and so does display math: