RFC Documentation Template for building proposal documentation sites.
This template provides a ready-to-use documentation site for RFC-style proposals like:
- LPs (Lux Proposals) - lps.lux.network
- HIPs (Hanzo Improvement Proposals) - hips.hanzo.ai
- ZIPs (Zoo Improvement Proposals) - zips.zoo.ngo
- Custom proposal systems
- Copy this template to your project:
cp -r ~/work/hanzo/rfc ~/work/your-org/your-proposals
cd ~/work/your-org/your-proposals- Configure by editing
rfc.config.ts:
const config: RFCConfig = {
name: 'Your Proposals',
shortName: 'YP',
title: 'Your Proposals - Standards Documentation',
// ... see examples/ for full configurations
};- Install dependencies:
pnpm install- Run development server:
pnpm dev- Build for production:
pnpm buildSee rfc.config.ts for all configuration options:
- Site identity: name, title, description
- URLs: baseUrl, repoUrl, forumUrl
- Content: rfcDir (where your markdown files live), filePrefix
- Categories: Define categories with number ranges
- Branding: Colors, logo
- Theme: Dark/light mode settings
See the examples/ directory for ready-to-use configurations:
examples/lps.config.ts- Lux Proposalsexamples/hips.config.ts- Hanzo Improvement Proposalsexamples/zips.config.ts- Zoo Improvement Proposals
your-proposals/
├── docs/ # This documentation site
│ ├── app/ # Next.js app router
│ ├── components/ # React components
│ ├── lib/ # Core logic (source.ts)
│ ├── public/ # Static assets
│ ├── rfc.config.ts # Site configuration
│ └── package.json
└── RFCs/ # Your proposal markdown files
├── rfc-0001.md
├── rfc-0002.md
└── ...
RFC files should include YAML frontmatter:
---
rfc: 1
title: Your Proposal Title
description: A brief description
author: Name (@github-username)
status: Draft | Review | Last Call | Final | Withdrawn
type: Standards Track | Meta | Informational
category: Core | Networking | Interface
created: 2025-01-01
---
## Abstract
Your proposal content...- 📝 Markdown with GFM support
- 🎨 Dark/light theme
- 🔍 Full-text search
- 📱 Mobile responsive
- ⚡ Static site generation
- 📊 Proposal statistics
- 🏷️ Category organization
- 🔗 TOC navigation
MIT