docs: Add comprehensive documentation with MkDocs and Rustdoc

Merged
LO
1y ago
+9764-59
  • Update README with badges, feature tables, and architecture diagrams
  • Set up MkDocs Material theme with Mermaid diagram support
  • Add complete user guide (installation, quickstart, parsing, geometry, rendering, querying, exporting)
  • Add architecture documentation with detailed Mermaid diagrams
  • Add API reference for TypeScript, Rust, and WASM
  • Add tutorials (building viewer, custom queries, extending parser)
  • Add contributing guides (setup, code style, testing)
  • Enhance Rustdoc comments for all three Rust crates
  • Add custom CSS styling for documentation site

Summary by CodeRabbit

  • Documentation
    • Major overhaul: rich README and complete docs site with guides (Quick Start, Installation, Browser Requirements), architecture, pipelines, tutorials, and comprehensive API references.
  • New Features
    • Expanded Rust/WASM/TypeScript API documentation and a broadened public API surface for native crates and JS packages.
  • Chores
    • Site configuration, styling, docs build/deploy workflow added; package description updated.

✏️ Tip: You can customize this high-level summary in your review settings.