@zpress/kit
v0.2.12
Published
Documentation framework powered by Rspress with a config-driven information architecture
Maintainers
Readme
@zpress/kit
An opinionated documentation framework for monorepos. Just point it at your code.
Features
- Your docs, your structure — Conforms to your repo, not the other way around.
- Great defaults — Sidebars, nav, landing pages, and icons from one config.
- Beautiful themes out of the box — Dark mode, generated banners, and polished defaults.
- Monorepo-first — Built for internal docs with first-class workspace support.
Install
npm install @zpress/kitUsage
Define your docs
// zpress.config.ts
import { defineConfig } from '@zpress/kit'
export default defineConfig({
title: 'my-project',
description: 'Documentation for my-project',
sections: [
{
text: 'Getting Started',
link: '/getting-started',
from: 'docs/getting-started.md',
icon: 'pixelarticons:speed-fast',
},
{
text: 'Guides',
prefix: '/guides',
icon: 'pixelarticons:book-open',
from: 'docs/guides/*.md',
textFrom: 'heading',
sort: 'alpha',
},
],
nav: 'auto',
})Run it
npx zpress dev # start dev server with hot reload
npx zpress build # build for production
npx zpress serve # preview production buildPackages
| Package | Description |
| ------------------------------------------------------------ | ----------------------------------- |
| @zpress/core | Config loading, sync engine, assets |
| @zpress/cli | CLI commands and file watcher |
| @zpress/ui | Rspress plugin, theme, and styles |
Why @zpress/kit?
[!NOTE] Published as
@zpress/kitbecause npm's overly aggressive moniker rules block thezpressname.
License
MIT - Joggr, Inc.
