Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
docs: let check-docs.mjs accept path:line source anchors
Etienne Lescot27d3f1d973f0
diff --git a/scripts/check-docs.mjs b/scripts/check-docs.mjsindex 7222b309c..386930b91 100644--- a/scripts/check-docs.mjs+++ b/scripts/check-docs.mjs@@ -99,7 +99,9 @@ for (const file of files) {// Relative markdown links must resolve.for (const [, target] of text.matchAll(/\]\((?!https?:|mailto:|#)([^)#\s]+)/g)) {- const resolved = resolve(dirname(file), target);+ // `foo.ts:42` is the repo's source-anchor convention — the file must exist,+ // the line number is not part of the path.+ const resolved = resolve(dirname(file), target.replace(/:\d+$/, ""));try {statSync(resolved);} catch {