writing-docs

作者: remotion-dev

撰寫 Remotion API 文件的指南與範本,採用 MDX 格式。在 packages/docs/docs 中為每個 API 建立一個 .mdx 檔案,將其加入 sidebars.ts,並執行 bun render-cards.ts 以生成社交預覽卡片。API 屬性使用 ### 標題(而非項目符號),可選參數加上 ? 後綴,並在描述中自然包含預設值。偏好使用帶有 twoslash 驗證的型別安全程式碼片段;使用 // ---cut--- 隱藏匯入,並始終為...添加 title 屬性。

npx skills add https://github.com/remotion-dev/remotion --skill writing-docs