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.
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
| Task | Read |
|---|---|
| Format a page or add an alert | Markdown |
| Show commands in tabs | Code blocks |
| Organize the sidebar or add GitHub to the navbar | Navigation and links |
| Add logos, a favicon, or footer links | Branding |
| Add React pages or a custom homepage | Pages |
| Add generated API documentation | API documentation |
| Publish stable and unreleased docs | Versioning |
| Build and upload your site | Deployment |
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.