LogoTemplate0
Logo of Astro Lotus Starter on template0.com

Astro Lotus Starter

Starter template for building documentation sites with the Lotus Astro theme, MDX content, and Vercel deployment.

Introduction

Astro Lotus Starter is a documentation starter template for building static documentation sites with the Lotus Astro theme, converting MDX files from src/content/docs into a deployable Astro site. It was created by the prosefly organization and is available on GitHub as prosefly/astro-template-lotus-starter.

What is Astro Lotus Starter?

Astro Lotus Starter is a minimal starting point for documentation websites built on the @prosefly/astro-theme-lotus theme. It takes MDX documentation files as input and produces a static Astro site with a configurable layout, navigation, and search. The starter runs on Astro and is designed to be deployed to Vercel, which executes pnpm build and serves the generated dist directory.

Key Features
  • MDX-based content — All documentation lives in src/content/docs as MDX files; with docsBase set to /, index.mdx becomes the site homepage and the docs entry page renders at /overview/.
  • Single-file configurationtheme.config.json lets you change the site name, navigation, docs navigation, appearance, search, footer links, and source links without touching code.
  • One-click Vercel deployment — A "Deploy with Vercel" button clones the repository and sets up automatic builds that run pnpm build and serve the static output.
  • Content collection registrationsrc/content.config.ts registers the Lotus docs collection, enabling Astro's type checking and content validation through pnpm check.
  • Standard pnpm workflow — Development uses pnpm dev, production builds use pnpm build, local previews use pnpm preview, and type/content checks use pnpm check.
  • Minimal project structure — The template intentionally keeps only src/content/docs, src/content.config.ts, and root-level theme.config.json, making it a clean base for any docs project.
Who is it for?
  • Documentation maintainers — who want a content-focused docs site without a CMS, where they only write MDX and edit one config file.
  • Astro developers — who want a preconfigured documentation theme starter that follows Astro content collections conventions and supports pnpm check.
  • Open source project teams — that need a static docs site hosted on Vercel, deployed from a GitHub repository.
What can you do with it?
  • Ship project documentation: write MDX pages under src/content/docs, configure navigation and search in theme.config.json, and deploy to Vercel with a single click.
  • Preview locally: run pnpm dev to start a dev server, and pnpm preview to verify the production build before publishing.
  • Validate content: run pnpm check to catch type and content collection errors across your MDX documentation.
How does Astro Lotus Starter work?

You scaffold the project by running pnpm create astro@latest --template prosefly/astro-template-lotus-starter, or clone the repository and run pnpm install and pnpm dev. Lotus reads MDX files from src/content/docs by default; the starter sets docsBase to /, mapping index.mdx to the homepage and the docs entry page to /overview/. After editing, pnpm build generates a static site ready for deployment.

FAQ
What is Astro Lotus Starter?

Astro Lotus Starter is a documentation site starter template built on the Lotus Astro theme. It provides a minimal MDX-based structure, a single configuration file theme.config.json, and one-click deployment to Vercel.

How do I install it?

Run pnpm create astro@latest --template prosefly/astro-template-lotus-starter in your terminal, or clone the GitHub repository directly, then install dependencies with pnpm install and start the dev server with pnpm dev.

How do I customize the site?

Edit theme.config.json to change the site name, navigation, docs navigation, appearance, search, footer links, and source links. No code changes are needed for these settings.

How do I deploy it?

Use the Deploy with Vercel button on the README, which clones the repository and configures Vercel to run pnpm build and serve the dist directory. Alternatively, connect the repository to any host that builds Astro projects.

What content format does it support?

All pages are written as MDX files in src/content/docs. The default docsBase of / means index.mdx renders as the homepage, while the docs entry page renders at /overview/.

screenshot of Astro Lotus Starter on template0.com

Information

GitHub Info

  • Stars0
  • Last maintained2026/08/11
  • LicenseNo license detected
  • Primary languageMDX

Categories

Tags

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates