Documentation for the Execution Kernel - a consensus-critical, deterministic agent execution framework for RISC Zero zkVM.
Built with Docusaurus.
- Node.js 18+ and npm
npm installnpm run startThis starts a local development server at http://localhost:3000. Most changes are reflected live without restart.
npm run buildGenerates static content in the build/ directory for deployment.
npm run serveServes the built website locally to preview before deployment.
Documentation pages are in the docs/ directory:
docs/
├── intro.md # Landing page
├── architecture/ # Architecture docs
│ ├── overview.md
│ ├── trust-model.md
│ └── cryptographic-chain.md
├── getting-started/ # Getting started guides
├── kernel/ # Kernel core docs
├── sdk/ # SDK documentation
├── guest-program/ # Guest program docs
├── agent-pack/ # Agent Pack docs
├── onchain/ # On-chain integration
└── reference/ # Reference docs
Every page needs frontmatter:
---
title: Page Title
sidebar_position: 1
---Edit sidebars.ts to modify navigation structure.
- Create a
.mdfile in the appropriate directory - Add frontmatter with title and sidebar position
- Add the page to
sidebars.tsif needed
- Mermaid Diagrams: Use mermaid code blocks for diagrams
- Code Highlighting: Supports Rust, TypeScript, Solidity, TOML, JSON, Bash
- Dark Mode: Enabled by default with toggle
- Admonitions: Use
:::note,:::warning,:::tipfor callouts
```mermaid
flowchart LR
A[Input] --> B[Kernel] --> C[Output]
```:::warning
This is a warning message.
:::Pushing to main triggers automatic deployment via GitHub Actions.
See .github/workflows/deploy-docs.yml for the workflow configuration.
# Build the site
npm run build
# Deploy to GitHub Pages
GIT_USER=<username> npm run deployTo use a custom domain:
- Update
urlindocusaurus.config.ts - Update
baseUrlto/if using root domain - Add a
CNAMEfile tostatic/with your domain - Configure DNS to point to GitHub Pages
Main configuration is in docusaurus.config.ts:
title,tagline- Site metadataurl,baseUrl- Deployment URLsthemeConfig- Navbar, footer, colorspresets- Docs and theme configuration
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
- Use clear, concise language
- Include code examples where helpful
- Add diagrams for complex concepts
- Link related pages
- Keep frontmatter minimal
This documentation is part of the Defiesta project and is licensed under Apache 2.0.