Skip to main content
Use mint export to package your entire documentation site into a self-contained zip archive. Recipients can unzip and view the docs in their browser without an internet connection, a Mintlify account, or any build tools — they only need Node.js installed. This is useful when you need to distribute documentation to users who can’t access your live site, such as for on-premise customers, air-gapped environments, or internal compliance reviews.

Prerequisites

  • The CLI installed and up to date
  • Node.js v20.17.0+ installed

Export your site

Navigate to your documentation directory containing your docs.json file and run:
mint export
The CLI builds your site, crawls every page defined in your navigation, and packages the output into a zip file in your current directory.
The export only includes pages listed in your navigation. Hidden pages are not included in the archive.

What’s in the zip

The exported archive contains everything needed to view your docs offline:
FilePurpose
HTML pagesPre-rendered version of every page in your navigation
_next/static/Bundled CSS, JavaScript, and other static assets
serve.jsZero-dependency Node.js HTTP server that serves the site
Start Docs.commandmacOS launcher — double-click to open the docs
Start Docs.batWindows launcher — double-click to open the docs

View the exported docs

Share the zip file with anyone who has Node.js installed. To view the docs:
  1. Unzip the archive.
  2. Open a terminal in the unzipped directory.
  3. Run node serve.js.
  4. Open http://localhost:3000 in your browser.