Quickstart
Quickstart
Install
Prerequisite
ReallySimpleDocs is an Astro integration. Add it to an existing Astro site, or create one first with npm create astro@latest.
Install packages
npm install reallysimpledocs basecoat-css@beta tailwindcsspnpm add reallysimpledocs basecoat-css@beta tailwindcssyarn add reallysimpledocs basecoat-css@beta tailwindcssbun add reallysimpledocs basecoat-css@beta tailwindcssAdd the Astro integration
import { defineConfig } from "astro/config";
import reallySimpleDocs from "reallysimpledocs/astro";
export default defineConfig({
integrations: [
reallySimpleDocs({
site: {
title: "Acme Docs",
},
}),
],
});Create docs
# Introduction
Welcome to the docs.{
"menu": [
{
"type": "group",
"label": "Docs",
"items": [{ "slug": "index", "icon": "info" }]
}
]
}Run Astro
npm run dev Usage
Start adding Markdown and MDX files to the docs/ folder:
docs/
├── docs.json # Sidebar navigation
├── index.md # First page
└── guide.mdx # Optional component-rich page
Use docs/docs.json to manage navigation. Add Markdown and MDX files as pages.
Use .mdx only when a page needs richer components: Callout, Code, CodeGroup, Preview, Tabs, Steps, Card, or CardGrid.
ReallySimpleDocs also wires up
- Basecoat and Tailwind CSS for styling,
- syntax highlighting for fenced code blocks with copy buttons,
- full text search using Lunr,
llms.txtandllms-full.txtfiles for agents,- Markdown export and AI links for each page.
For themes, custom CSS, assets, and component overrides, see Customization.
Update
Update ReallySimpleDocs and its peer packages together:
npm install reallysimpledocs basecoat-css@beta tailwindcsspnpm add reallysimpledocs basecoat-css@beta tailwindcssyarn add reallysimpledocs basecoat-css@beta tailwindcssbun add reallysimpledocs basecoat-css@beta tailwindcssThen rebuild:
npm run build
Your content stays in docs/; updates should mostly affect the package and your Astro config.