Skip to content

docs: audit and fix all documentation against actual codebase - #66

Merged
jrusso1020 merged 1 commit into
mainfrom
docs/audit-and-fix-all-documentation
Mar 26, 2026
Merged

docs: audit and fix all documentation against actual codebase#66
jrusso1020 merged 1 commit into
mainfrom
docs/audit-and-fix-all-documentation

Conversation

@jrusso1020

Copy link
Copy Markdown
Collaborator

Summary

Comprehensive audit of every documentation page against the actual source code. Fixes incorrect APIs, wrong CLI flags, nonexistent templates, missing public exports, and documents the new agent-friendly CLI design.

Fixes across all 11 doc files:

Quickstart

  • npx create-hyperframenpx hyperframes init (package doesn't exist)
  • Node.js 20+ → 22+ (actual requirement in all package.json files)
  • Shows --template flag and --human-friendly for interactive mode

Templates

  • Replaced entirely wrong template names (blank/title-card/video-edit) with actual templates (blank, warm-grain, play-mode, swiss-grid, vignelli)
  • Added --video flag documentation and project structure for each template

CLI

  • New "Agent-Friendly by Default" section documenting non-interactive design and --human-friendly opt-in
  • Removed nonexistent short flags (-o, -f, -q, -w) — no aliases defined in citty args
  • Added missing commands: browser, docs, telemetry, skills
  • Updated init with new flags: --audio, --skip-skills, --skip-transcribe, --human-friendly
  • Updated upgrade with new flags: --check, --yes

Producer

  • Replaced nonexistent render() API with actual createRenderJob() + executeRenderJob()
  • Added RenderConfig, RenderStatus, RenderCancelledError documentation
  • Added HTTP server API section (@hyperframes/producer/server export)
  • Added full re-exports table

Engine

  • Replaced nonexistent createEngine() with actual session-based API (createCaptureSession, captureFrame, etc.)
  • Added window.__hf protocol (HfProtocol/HfMediaElement) documentation
  • Added browser management, encoding, streaming encoder, video frame extraction, audio processing, parallel rendering, file server docs

Core

  • Fixed wrong type names (Composition/ClipTimelineElement/CompositionSpec)
  • Fixed wrong function names (parseHyperframeHtmlparseHtml, generateHyperframeHtmlgenerateHyperframesHtml)
  • Documented all 4 entry points: main, /lint, /compiler, /runtime
  • Added GSAP parser, generators, templates, frame adapters, media utilities, picker API

Studio

  • Added all missing exports: NLELayout, NLEPreview, CompositionBreadcrumb, SourceEditor, PropertyPanel, FileTree, StudioApp, AgentActivityTrack
  • Added hooks: useCodeEditor, useElementPicker, usePlayerStore
  • Added Tailwind preset export documentation

Introduction

  • Updated "For AI agents" tab and tip to describe non-interactive CLI design
  • Fixed render flag references

Rendering, Troubleshooting, Determinism

  • Fixed flags table (removed fake short aliases)
  • Node 20 → 22 in doctor output
  • --output everywhere (not -o)

Test plan

  • Verify docs build cleanly with Mintlify (mintlify dev from /docs)
  • Spot-check CLI examples match actual --help output
  • Verify all import paths in code examples resolve in the actual packages
  • Check that template names in docs match packages/cli/src/templates/generators.ts

🤖 Generated with Claude Code

Comprehensive audit of every documentation page against the actual source
code, fixing incorrect APIs, wrong CLI flags, nonexistent templates, and
missing public exports. Also documents the new agent-friendly CLI design.

Key fixes:
- Quickstart: `npx create-hyperframe` → `npx hyperframes init`, Node 20→22
- Templates: replaced nonexistent blank/title-card/video-edit with actual
  templates (blank, warm-grain, play-mode, swiss-grid, vignelli)
- CLI: removed nonexistent short flags (-o/-f/-q/-w), added missing
  commands (browser, docs, telemetry, skills), documented agent-friendly
  non-interactive default and --human-friendly flag
- Producer: replaced nonexistent `render()` API with actual
  `createRenderJob()`/`executeRenderJob()`, added server API docs
- Engine: replaced nonexistent `createEngine()` with actual session-based
  API, added HfProtocol, encoding, streaming, parallel rendering docs
- Core: fixed wrong type names (Composition/Clip→TimelineElement), wrong
  function names (parseHyperframeHtml→parseHtml), documented all 4 entry
  points (main, /lint, /compiler, /runtime)
- Studio: added all missing exports (NLELayout, SourceEditor,
  PropertyPanel, FileTree, StudioApp, hooks, Tailwind preset)
- All pages: --output not -o, Node 22+ not 20+

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Mar 26, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
hyperframes 🟢 Ready View Preview Mar 26, 2026, 6:24 PM

@jrusso1020
jrusso1020 merged commit 4b3c45e into main Mar 26, 2026
15 checks passed
@jrusso1020
jrusso1020 deleted the docs/audit-and-fix-all-documentation branch March 26, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants