Documentation for IC Reactor, following the ICP JS Core documentation pattern.
This documentation setup uses TypeDoc to generate API reference documentation in Markdown format that can be integrated with the ICP Developer Portal.
docs/
├── package.json # Build scripts
├── typedoc.json # TypeDoc configuration
├── scripts/
│ └── split-index.js # Post-processing script
└── src/content/docs/ # Manual documentation
├── _sidebar.json # Navigation structure
├── index.mdx # Overview
├── installation.mdx # Installation guide
├── quick-start.mdx # Quick start tutorial
└── ...
# Install dependencies
pnpm install
# Build documentation (generates TypeDoc output)
pnpm buildThe build process:
- Cleans the
dist/directory - Runs TypeDoc to generate API reference markdown
- Runs
split-index.jsto process the output - Copies manual docs to
dist/
Documentation is output to dist/<version>/ and can be:
- Hosted on GitHub Pages
- Integrated with the ICP Developer Portal
- Published as a standalone documentation site
- Entry points:
@ic-reactor/coreand@ic-reactor/react - Output: Markdown with frontmatter for static site generators
- Plugins:
typedoc-plugin-markdown,typedoc-plugin-frontmatter
Defines the navigation structure following ICP docs conventions.
- Manual docs go in
src/content/docs/ - API docs are auto-generated from TypeScript sources
- Follow the existing frontmatter format with
editUrl: false