update-legal-pdfs
Regenerate the downloadable PDF copies of Remotion's Terms, Privacy Policy, DPA Statement, and DPIA Statement after editing their docs pages.
SKILL.md 原文预览
Update legal PDFs
The source of truth is packages/docs/docs/{terms,privacy,dpa,dpia}.mdx. Do not edit the PDFs directly.
- Run
python3 .agents/skills/update-legal-pdfs/scripts/generate.pyfrom the repository root. Use a Python environment withreportlabinstalled. In Codex desktop,load_workspace_dependenciesprovides one. - Review the four files in
packages/docs/static/docs/. Confirm each PDF retains the source title, notices, headings, tables, links, and final contact details. Render the pages to check wrapping and page breaks. - Commit the changed MDX source and regenerated PDFs together.
/terms.pdf,/privacy.pdf,/dpa.pdf, and/dpia.pdfredirect to the corresponding/docs/*.pdffiles inpackages/docs/vercel.ts.
The generator omits the MDX-only download link to avoid a PDF linking to itself. It keeps the source's legal status notices, including the upcoming Remotion 5.0 notices in the Terms and Privacy Policy.
评论
