Skip to content

Docskit

Docskit turns Markdown and a config file into a documentation site. The package provides the reading interface: navigation, search, a table of contents, themes, fonts, and code highlighting. You write the pages and choose your branding.

Start a site

Install Docskit, then write your first page. The project structure guide explains which files to edit and what the build generates.

Plain text
docs/
  docskit.config.ts
  package.json
  content/
    index.md
  public/

The build produces a static dist/ directory with HTML, assets, route payloads, and a search index. Publish that directory to your static host.

Find a guide

TaskRead
Format a page or add an alertMarkdown
Show commands in tabsCode blocks
Organize the sidebar or add GitHub to the navbarNavigation and links
Add logos, a favicon, or footer linksBranding
Add React pages or a custom homepagePages
Add generated API documentationAPI documentation
Publish stable and unreleased docsVersioning
Build and upload your siteDeployment

Use the configuration reference to look up a setting, or the API reference for TypeScript signatures.

This site uses the local Docskit package. Its source is in packages/docs/. To work on the library or this site, read the repository's contributor guide.