Documentation Hub
Everything you need to build, validate, and render complex documents and PDFs with PaperCast.
Getting Started
Basic Usage
Advanced Usage
Widget Reference
Developer Guide
Architecture Overview
High-level overview of PaperCast rendering flow.
PDF Export & Client Integration
Serverless Puppeteer and print routing.
Pagination Engine
Deep dive into auto-pagination and offscreen measurement.
Rendering Context
React context bridging the UI and PDF generation.
Calculations & Logic
How variables, math, and templates are resolved.
Node Registry
How components are decoupled and registered.
Widget System
DnD widgets, basic nodes, and rich text architecture.
Headers & Footers
Dynamic page header and footer injection.
TypeScript Schemas
Data contracts, DocNode, and StyleProperties definitions.
State Management
Zustand store for AST and validation.
Property Panel
Visual binding and AST manipulation.
AST Manipulation
Safe structural and property edits on the JSON state.
JSON Editor
Monaco integration and real-time schema validation.
Templates & Test Data
How to manage and add showcase templates.
Documentation Site
How this marketing and docs site works.
Model Context Protocol (MCP)
Introduction to MCP
Understanding PaperCast's integration with AI agents.
Installation & Setup
How to configure your AI agent to connect to PaperCast.
Agent Capabilities
Available tools and skills for interacting with PaperCast.
Examples & Workflows
Examples of how to use an AI agent with PaperCast.