@chitrank2050/monoline-docs
v0.3.0
Published
A fast, static documentation builder for Markdown and MDX with Monoline's accessible interface.
Maintainers
Readme
Monoline Docs
Build static documentation from Markdown and MDX for libraries, SDKs and API products. Includes navigation, local search, light/dark themes, highlighted code, authoring components, OpenAPI reference generation and Markdown/AI exports.
Installation
Use Node.js 24.14 or newer. In a new or existing project directory:
npm install @chitrank2050/monoline-docs
npx monoline-docs init
npm run devFor pnpm, use pnpm add @chitrank2050/monoline-docs,
pnpm exec monoline-docs init and pnpm dev.
Open the address printed in your terminal and edit content/index.md.
Initialization creates the homepage, monoline-docs.yml and build/dev scripts.
It preserves existing package metadata and refuses conflicting files or scripts.
Write and publish
Create another page in content/:
---
title: Installation
description: Set up your project.
---
## Install
Describe your project's installation steps here.Set your publishing origin in monoline-docs.yml:
title: Team handbook
site: https://docs.example.comRun npm run build to generate static output in dist. Deploy that directory
to your static host. See deployment recipes
for root/subpath layouts and migration guidance
when replacing an existing site.
Guides and reference
- Getting started and writing pages.
- Configuration and appearance.
- SEO and social sharing for page metadata, canonical URLs, sitemaps and Search Console setup.
- Authoring components for steps, callouts, tables, code examples and guide cards.
- OpenAPI documentation and Markdown/AI exports.
- Troubleshooting and support boundaries.
Using with AI agents
The package ships skills/monoline-docs/SKILL.md. Ask your agent to read that
installed file, or copy its folder into the agent's supported skills directory.
Installation does not automatically enable the skill; keep copied instructions
aligned with the installed package version.
Use generated page Markdown exports, llms.txt or llms-full.txt as reference.
See the agent guide
and maintained skill.
Requirements
- Node.js 24.14 or newer; npm is supported, JSR is not.
- React 19 and React DOM 19 only for hydrated React islands.
- A published
content/index.mdorcontent/index.mdxhomepage.
The initializer adds a hint for the installed YAML configuration schema. Basic reading and navigation work without JavaScript; search, copying and interactive examples use browser scripts.
Package entry points
@chitrank2050/monoline-docs: configuration and content utilities.@chitrank2050/monoline-docs/build: programmatic production builds.@chitrank2050/monoline-docs/dev: local preview server.@chitrank2050/monoline-docs/components/*.astro: authoring components.@chitrank2050/monoline-docs/schema.json: configuration editor schema.
See the programmatic API for usage and contributor guide for repository development.
Licensed under MIT.
