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:
The CLI builds your site, crawls every page defined in your navigation, and packages the output into a zip file in your current directory.

Options

For example, to export your site to a custom filename with a specific user group:
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:

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.