Installation
Install dependencies and start the local docs site.
Install dependencies:
pnpm installStart the development server:
pnpm devBuild the site:
pnpm buildPreview the production build:
pnpm previewHow Lotus Is Wired
Lotus automatically reads theme.config.json from the project root:
import { defineConfig } from 'astro/config';import lotus from '@prosefly/astro-theme-lotus';
export default defineConfig({ integrations: [lotus()],});The docs collection is registered in src/content.config.ts:
import { defineCollection } from 'astro:content';import { docsLoader, docsSchema } from '@prosefly/astro-theme-lotus/content';
const docs = defineCollection({ loader: docsLoader(), schema: docsSchema(),});
export const collections = { docs };Last updated Aug 11, 2026