Getting Started

This guide will help you get up and running quickly with our documentation theme.

Installation

  1. Create a new Astro project:
npm create astro@latest my-docs
  1. Install dependencies:
npm install @astrojs/tailwind @tailwindcss/typography

Configuration

Add Tailwind to your Astro config:

import { defineConfig } from 'astro/config';
import tailwind from '@astrojs/tailwind';

export default defineConfig({
  integrations: [tailwind()]
});

Writing Documentation

Create your documentation files in the src/pages directory using .md or .mdx files:

---
layout: ../layouts/DocsLayout.astro
title: My Page
---

# My Documentation

Write your content here...

Customization

You can customize the theme by modifying the tailwind.config.mjs file and the layout components.