Documentation
Installation
Getting a documentation site running should be straightforward.
Install #
Requires Node.js 20.19+ or 22.12+. Start with the project creator, install dependencies, and run the development server:
bash
npm create ctrlaltdoc@latest my-docs
cd my-docs
npm install
npm run devIt asks for your documentation site title and optional GitHub repository URL, then writes those values into ctrlaltdoc.config.ts. Press Enter to accept the suggested values.
For an existing project, install the framework with your package manager:
bash
pnpm add ctrl-alt-docor:
bash
npm install ctrl-alt-docCreate your configuration #
A minimal configuration looks like this:
ts
import { defineConfig } from "ctrl-alt-doc";
export default defineConfig({
title: "My Documentation",
description: "Documentation for my project.",
});Write your first page #
Create:
text
docs/
└── index.mdThen start the development server.
