How to Ship Auto-Updating Product Tours & Docs in Mintlify and Docusaurus (2027)
Replace stale PNG screenshots in Mintlify, Docusaurus, and GitBook with self-updating HTML product tours, auto-zoom MP4 clips, and guide.md generated in GitHub Actions.
How do you keep Mintlify and Docusaurus screenshots and tours from going stale?
Connect DemoCI v0.2.1 inside GitHub Actions so every merge to main executes democi.yml or your Playwright suite, captures fresh DOM-locked screenshots and auto-zoom MP4 clips, writes Markdown docs/guide.md, and runs npx @shipcraftlabs/democi export-bundle to commit self-hosted HTML assets directly into your docs repository.
1. The Stale Docs Screenshot Loop
Engineering teams rename a button on Monday, users hit mismatched Mintlify/Docusaurus screenshots on Tuesday, and PMMs spend Friday evening re-taking screenshots and uploading new Loom videos. Compiling docs assets from the exact Playwright selectors already running in CI eliminates the drift permanently.
2. Generate Tour + Video + guide.md in GitHub Actions
Drop devansh2396/democi@v0.2.1 into .github/workflows/docs-demos.yml so every merge to main regenerates static assets inside public/demo/ and commits updates cleanly.
name: Sync Docs Demos
on:
push:
branches: [main]
jobs:
democi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: devansh2396/democi@v0.2.1
with:
spec: democi.yml
out-dir: public/demo
- run: npx @shipcraftlabs/democi export-bundle --in ./public/demo --out ./public/tour3. Embed Zero-Dependency Interactive Tours Inside Markdown/MDX
Copy the self-hosted HTML tour folder into your Docusaurus static/ or Mintlify public/ directory and include a single script tag — zero external SaaS scripts or seat taxes required.
<script src="/tour/embed.js" data-democi-src="/tour/index.html" async></script>
Frequently Asked Questions (2027)
Does DemoCI require proprietary cloud hosting for Mintlify or Docusaurus embeds?
No. Output folders (tour/index.html, tour/embed.js, tour/manifest.json, video/demo.mp4, docs/guide.md) are 100% static files served directly from your Vercel, Cloudflare Pages, S3, or GitHub Pages docs host.
Can we generate Screen Studio-style zoom videos inside Ubuntu CI?
Yes. DemoCI calculates exact DOM bounding boxes during the Playwright run and drives FFmpeg zoompan filters cleanly on Linux runners as well as macOS and Windows.
Try DemoCI v0.2.1 on Your Repo Today
Free open CLI forever or start a 14-day free trial ($0 today, then $49/mo Founding Team, unlimited seats).