Skip to content

🎥 Make videos programmatically with React

Remove deprecated `convertToCaptions()` from table of contents of `@remotion/install-whisper-cpp`

Igor Samokhovets9995351107d4
diff --git a/packages/docs/docs/install-whisper-cpp/install-whisper-cpp.tsx b/packages/docs/docs/install-whisper-cpp/install-whisper-cpp.tsx
index 34e586788b..b8024aae70 100644
--- a/packages/docs/docs/install-whisper-cpp/install-whisper-cpp.tsx
+++ b/packages/docs/docs/install-whisper-cpp/install-whisper-cpp.tsx
@@ -18,9 +18,12 @@ export const TableOfContents: React.FC = () => {
<strong>transcribe()</strong>
<div>Transcribe an audio file</div>
</TOCItem>
- <TOCItem link="/docs/install-whisper-cpp/convert-to-captions">
- <strong>convertToCaptions()</strong>
- <div>Postprocessing for TikTok-style captions</div>
+ <TOCItem link="/docs/install-whisper-cpp/to-captions">
+ <strong>toCaptions()</strong>
+ <div>
+ Converts the output from <code>transcribe()</code> into an array of{' '}
+ <code>Caption</code> objects
+ </div>
</TOCItem>
</Grid>
</div>