Lotus Starter
Type to search documentation.

Installation

Install dependencies and start the local docs site.

Install dependencies:

Terminal window
pnpm install

Start the development server:

Terminal window
pnpm dev

Build the site:

Terminal window
pnpm build

Preview the production build:

Terminal window
pnpm preview

How Lotus Is Wired

Lotus automatically reads theme.config.json from the project root:

astro.config.ts
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:

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