Your docs. One package.

Write Markdown. Add your name and navigation. Ship a complete documentation site.

Search, syntax highlighting, and light and dark themes included.

From a Markdown file to a place worth reading.

Start with your words.

A title, a description, and the guide you wanted to write. Keep your content in Markdown or MDX. Code, alerts, and page outlines are handled by the shared pipeline.

content/installation.mdMarkdown
---
title: Installation
description: Add the package to your project.
---

# Installation

Add the package and start building.

## Install the package

```sh
pnpm add your-package
```

> [!TIP]
> Keep configuration in version control.

Make it your project.

Set your name, navigation, and public URL in one config file. Keep your assets alongside the content. There are no framework routes or build plugins to maintain.

docskit.config.tsTypeScript
import { defineDocs } from "@pinanek/docskit";

export default defineDocs({
  name: "Your Project",
  description: "A guide to getting started.",
  url: "https://example.com",
  navigation: [
    {
      label: "Start here",
      items: [
        { label: "Overview", href: "/docs/" },
        {
          label: "Installation",
          href: "/docs/installation/",
        },
      ],
    },
  ],
});

A familiar place to read.

Give every guide a place in the sidebar. Let readers follow the page outline, copy a command, search the site, and move to the next page. The layout adapts to their screen and theme.

Your ProjectExample documentation

Installation

Add the package to your project and start building.

Install the package
TerminalShell
pnpm add your-package
Tip

Keep configuration in version control so your team shares the same setup.

Next: Configuration

Build once. Read anywhere.

One command turns your content into static pages and a local search index. Publish the output to your static host, including sites served under a project subpath.

In your docs projectShell
pnpm build
Ready for your static hostPlain text
dist/
├── index.html
├── docs/
│   ├── index.html
│   └── installation/
│       └── index.html
├── assets/
└── pagefind/
  1. Write
  2. Configure
  3. Read
  4. Ship
content/installation.mdMarkdown
---
title: Installation
description: Add the package to your project.
---

# Installation

Add the package and start building.

## Install the package

```sh
pnpm add your-package
```

> [!TIP]
> Keep configuration in version control.

Try the docs you’re reading.

This site runs on the local Docskit package. Clone the repository and start the documentation workspace.

The package isn’t published yet. The installation guide covers creating your own site from a tarball.

From this checkoutShell
pnpm install --frozen-lockfile
pnpm docs:dev

The details are already there.

A consistent reading experience, from the first heading to the next page.

Made for your content
Markdown, Comfit syntax highlighting, copyable code, code tabs, alerts, image captions, tables, and math. API generators can feed the same pipeline.
Built for the reader
Nested navigation, an on-page outline, previous and next links, and local search. Responsive layouts and system-aware themes come with the package.
Still your project
Keep your content and assets. Add a custom homepage, Markdown components, or CSS through explicit options. Docskit owns the framework setup.

Give your docs a home.

Bring the words. The reading experience comes with them.

Create your documentation site