Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

docs: add npm run docs:check, and complete the preview chain in the overview diagram

Etienne Lescot5a9364b75d0e
diff --git a/package.json b/package.json
index c6cd9761a..b21d459d9 100644
--- a/package.json
+++ b/package.json
@@ -25,6 +25,7 @@
"lint:fix": "biome check --write .",
"format": "biome format --write .",
"i18n:check": "node scripts/i18n-check.mjs",
+ "docs:check": "node scripts/check-docs.mjs",
"preview": "vite preview",
"build:native:mac": "node scripts/build-macos-screencapturekit-helper.mjs",
"build:mac": "npm run build:native:mac && tsc && vite build && electron-builder --mac",
diff --git a/technical-documentation/README.md b/technical-documentation/README.md
index 20406318e..5d5c2f9c7 100644
--- a/technical-documentation/README.md
+++ b/technical-documentation/README.md
@@ -60,5 +60,5 @@ Three rules, in order of how much damage breaking them does:
3. **Settled questions go in [decisions.md](architecture/decisions.md).** Including the rejected
routes, with the reason. That file is what stops the same idea being re-proposed every quarter.
-`node scripts/check-docs.mjs` enforces the mechanical part: every required doc exists, every
+`npm run docs:check` enforces the mechanical part: every required doc exists, every
relative link resolves, and no doc presents a removed component as current.
diff --git a/technical-documentation/architecture/overview.md b/technical-documentation/architecture/overview.md
index 515092a9d..e0d65dbd4 100644
--- a/technical-documentation/architecture/overview.md
+++ b/technical-documentation/architecture/overview.md
@@ -73,7 +73,7 @@ flowchart TD
MT2["Media transcript<br/>(2nd asset / mic)"]
Timeline["Timeline<br/>v4/V4Timeline.tsx"]
- VPreview["Preview<br/>Preview.tsx → PreviewCanvas.tsx"]
+ VPreview["Preview<br/>Preview.tsx → PreviewCanvas.tsx<br/>→ NativeCompositorOverlay.tsx"]
VTranscript["Transcript<br/>CaptionsPane.tsx + src/lib/ai-edition/captions/"]
User <--> Chat