Official documentation site for HORUS — a real-time robotics framework with zero-copy IPC and deterministic scheduling.
Live: docs.horusrobotics.dev
- 244 pages across 15 sections
- Rust + Python with full language parity (LanguageTabs on all pages)
- 31 Rust API pages, 31 Python API pages, 12 message category pages per language
- 21 recipes (copy-paste robotics patterns), 12 tutorials (step-by-step)
- 31 pre-rendered Mermaid diagrams, 7 interactive Recharts benchmark charts
- Full-text search (FlexSearch), dark/light mode, Vercel CDN deployment
npm install
npm run dev # http://localhost:3009
npm run build # Production build (244 pages)
npm start # Production servercontent/docs/
getting-started/ # 12 pages — installation, quick start, language guides
tutorials/ # 12 pages — numbered step-by-step (Rust + Python pairs)
recipes/ # 21 pages — copy-paste robotics patterns
concepts/ # 22 pages — architecture, nodes, topics, scheduler, RT
rust/api/ # 31 pages — Node, Topic, Scheduler, messages, drivers
python/api/ # 31 pages — Node, Topic, Scheduler, messages, drivers
python/ # 19 pages — guides (GIL, NumPy, deployment, testing, etc.)
stdlib/ # 17 pages — per-message deep dives (Imu, CmdVel, LaserScan)
advanced/ # 9 pages — RT setup, safety monitor, blackbox, record/replay
development/ # 14 pages — CLI reference, testing, debugging, monitoring
operations/ # 2 pages — deployment (SSH, Docker, systemd)
performance/ # 3 pages — benchmarks (measured), optimization guide
package-management/ # 5 pages — horus.toml, lockfile, registry, publishing
plugins/ # 3 pages — plugin system
reference/ # 5 pages — cheatsheets, API index, internals
learn/ # 4 pages — vs ROS2, why HORUS
- Next.js 15 with App Router (static generation)
- MDX via next-mdx-remote 6 + remark-gfm
- Tailwind CSS with dark/light mode
- Shiki for syntax highlighting (20+ languages)
- Recharts for interactive benchmark charts
- Mermaid diagrams pre-rendered to static SVG at build time
- FlexSearch for client-side full-text search
- Vercel for CDN deployment with security headers
npm run buildRuns these steps in order:
build-sidebar.js— scan MDX frontmatter, generatesidebar-data.jsonbuild-search-index.js— index all pages intosearch-index.jsonbuild-llms-full.js— generate LLM context documentpre-render-mermaid.mjs— render 31 Mermaid diagrams to static SVG via mmdcextract-code-blocks.mjs— validate code samplesnext build— static generation (244 pages)
| Component | Purpose |
|---|---|
LanguageTabs / LangTab |
Synced Rust/Python/C++ code tabs |
CodeBlock |
Shiki-highlighted code with copy button |
Callout |
Info/warning/error callout boxes |
MermaidDiagram |
Pre-rendered SVG diagrams (build-time) |
BenchmarkCharts |
Interactive Recharts (13 chart types) |
SearchModal |
Full-text search (Cmd/Ctrl+K) |
Details |
Collapsible sections |
Before editing .mdx files, read MDX_GUIDELINES.md.
Key rules:
- Escape
<in prose text:<1%,`Topic<T>`(backtick generic types) - Use
<LanguageTabs>/<LangTab>for Rust+Python side-by-side code - All API claims must match source code — verify constructors against
horus_py/src/messages.rs(Python) andhorus_core/src/(Rust) - Run
npm run buildbefore committing to catch MDX errors
Cross-reference strategy: CROSS_REFERENCES.md
- Fork the repository
- Create a feature branch
- Make changes in
content/docs/ - Test locally with
npm run dev - Run
npm run buildto verify - Submit a pull request
- Framework: github.com/softmata/horus
- Live Docs: docs.horusrobotics.dev
- Discord: discord.gg/hEZC3ev2Nf
- Issues: github.com/softmata/horus-docs/issues
Apache-2.0