Skip to main content

Crate orbit_md

Crate orbit_md 

Source
Expand description

Orbit — high-speed parallel static site generator.

Markdown pages with JSX-style components, compiled to static HTML.

Architecture:

  • discovery — parallel filesystem crawl + front matter extraction
  • components — JSX-style Markdown component expansion
  • parserpulldown-cmark HTML fragment generation
  • template — pre-compiled Handlebars layouts
  • writer — parallel flush to .orbit/

Modules§

cli
Command-line interface for Orbit.
components
React-like Markdown component layer.
config
Site-wide configuration loaded from YAML at startup.
dev
Local development server with watch-and-rebuild.
discovery
Parallel filesystem discovery and front matter extraction.
error
Domain-specific error types for Orbit.
models
Data models for configuration, front matter, and page lifecycle states.
parser
Pull-based Markdown-to-HTML conversion via pulldown-cmark.
scaffold
Project scaffolding for orbit init.
template
Pre-compiled Handlebars layout engine.
writer
Parallel disk writer for rendered HTML pages.

Structs§

BuildReport
Build statistics returned after a successful compilation.

Functions§

build
Runs the full discover → compile → render → write pipeline.
compile_markdown_batch
Parallel markdown-only compilation used in throughput benchmarks.
compile_pipeline
Map-reduce pipeline exposing each stage for testing and benchmarking.