Library
Mintlify answers/5 minutes read

Can Mintlify handle versioning, reusable content and PDF export?

Published November 21, 2026
HC

Harkirat Chahal

Growth

Share this article


Can Mintlify handle versioning, reusable content and PDF export?
SUMMARY

Yes. Mintlify includes versioned navigation, reusable snippets with variables and multi-language docs on every plan, and exports a whole site or selected pages to PDF on the Enterprise plan. Versions are a versions array in docs.json, and readers switch between them from a dropdown menu.

Yes. Mintlify includes versioned navigation, reusable snippets with variables and multi-language docs on every plan, and exports a whole site or selected pages to PDF on the Enterprise plan. Versions are a versions array in docs.json, and readers switch between them from a dropdown menu.

How versioning works in Mintlify

Versions partition your navigation. Each entry in the versions array has a version field and its own groups, tabs and pages, so v1/quickstart and v2/quickstart are separate files in your repository.

  • The first version in the array is the default. Set default: true on another entry to change it.
  • An optional tag field adds a badge such as "Latest", "Recommended" or "Deprecated" in the version dropdown.
  • A version entry can contain any other navigation fields, such as tabs and groups.

On Enterprise, search filters let readers narrow results to a version or product.

Reusable content with snippets and variables

Reusable snippets are .mdx, .md, .js, .jsx or .tsx files that you import into other pages. Edit the snippet once and every page that imports it updates.

Reuse needMintlify feature
The same paragraph, table or warning on many pagesImport a snippet file into each page
The same block with one value changedPass a property to the snippet, such as <MySnippet word="bananas" />
A product name or version number used everywhereGlobal variables in the variables object of docs.json
A snippet built from smaller snippetsNested snippets, with each file declaring its own imports

Writers who work in the web editor type /snippet on a page and pick a snippet from a list. Global variables are replaced in page and snippet content only, so frontmatter fields such as title need plain text.

Conditional content in Mintlify

Mintlify handles conditional content with components on the page.

  • The Visibility component shows a block to humans or to agents, to signed-in or signed-out readers, or to specific user groups.
  • The View component switches content by a selected view, such as a programming language.
  • With personalization, a user variable lets you render content from user data, for example a different paragraph when user.plan is enterprise.
  • Adding groups to a page's frontmatter controls which user groups see that page in navigation.

Conditions based on user groups need a way to identify the reader. Group-based access comes with OAuth, JWT or emails authentication, and those methods and personalization are Enterprise features. See showing different docs to each audience for the group setup.

PDF export and versions

PDF exports are available on Enterprise plans. You run them from the Exports page in the dashboard.

  1. Click Export all content for the whole site, or New export to select pages.
  2. Set the page format, scale percent, footer with page numbers, and language.
  3. Click Export. Mintlify emails you a link to download the PDF.

The PDF is a single file with images, links and a navigable table of contents. The export options are page format, scale, footer and language. There is no version option, so use the select-pages export to control which pages go into a PDF. Full-site PDF exports include all pages regardless of user group restrictions.

Readers can also download a single page as a PDF when you add the download-pdf option to the contextual menu, which also requires an Enterprise plan.

Docs in multiple languages

Languages work like versions: a languages array in docs.json with a dropdown switcher. Mintlify supports 44 languages and accepts regional variants such as en-GB or es-MX. Each language can have its own banner, footer and navbar, and you can route visitors to the language that matches their browser.

What each plan includes

FeatureFreeProEnterprise
Version and language navigationYesYesYes
Snippets and global variablesYesYesYes
AI translationsNoNoYes
Personalization and group-based contentNoNoYes
PDF exportNoNoYes

Translated pages that you maintain in Git publish on every plan. AI translations run through the Translate content automation, and automations require Enterprise.

Frequently Asked Questions

Is there an ability to handle conditional content?

Yes. Mintlify's Visibility component shows content by audience, sign-in state or user group, and the View component switches content by a selected view. Group-based conditions depend on Enterprise authentication or personalization.

Can Mintlify do PDF versioning?

Mintlify exports a full site or selected pages to PDF on Enterprise, with a language option. Mintlify PDF export has no version option, so use the select-pages export to choose which pages go into a PDF.

Can we reuse the same content across pages?

Yes. Mintlify snippets can be imported into any page, accept properties and can be nested. Global variables in docs.json replace short values such as product names everywhere they appear.

Can we move DITA or PDF content into Mintlify?

Yes. The Mintlify mint migrate CLI command accepts dita and pdf among its source platforms, along with a custom option for other tools. See importing from MadCap Flare, DITA or Word.

Does Mintlify support versioned documentation?

Yes. Mintlify versions are a versions array in docs.json, each with its own groups, tabs and pages, and readers switch between them from a dropdown.

Where to start

The navigation, reusable snippets and PDF exports pages cover the setup for each feature. For background on keeping docs in a repository, read what is docs as code. Start for free to try versions and snippets, or book a demo for PDF export and personalization.

More to read

Can non-technical writers edit Mintlify docs without GitHub?
Mintlify answers

Can non-technical writers edit Mintlify docs without GitHub?

Yes. Mintlify's web editor is on every plan, including Free. Writers edit in visual mode and click Publish, and the editor handles the Git commit for them.

November 21, 2026
HC

Harkirat Chahal

Growth

Can Mintlify import docs from MadCap Flare, DITA or Word?
Mintlify answers

Can Mintlify import docs from MadCap Flare, DITA or Word?

DITA has a documented path through mint migrate --from dita. Flare and Word have no dedicated importer, so you convert exports to Markdown or MDX.

November 21, 2026
HC

Harkirat Chahal

Growth

Does Mintlify have an AI assistant?
Mintlify answers

Does Mintlify have an AI assistant?

Yes. Mintlify's AI assistant is on Pro and Enterprise, answers from your published docs, and costs 25 credits per answer. Embed it with the assistant API.

November 21, 2026
HC

Harkirat Chahal

Growth

Can Mintlify update docs automatically when code changes?
Mintlify answers

Can Mintlify update docs automatically when code changes?

Yes. Mintlify Autopilot on Pro and Enterprise opens a pull request when code changes. By default a person merges every one, and each update is 250 credits.

November 21, 2026
HC

Harkirat Chahal

Growth

Does Mintlify support CI/CD, preview deployments and linting?
Mintlify answers

Does Mintlify support CI/CD, preview deployments and linting?

Yes. Mintlify deploys on every push to your repository. Pro and Enterprise add pull request previews, plus broken link and Vale CI checks on GitHub.

November 21, 2026
HC

Harkirat Chahal

Growth

Does Mintlify support custom domains and a /docs subpath?
Mintlify answers

Does Mintlify support custom domains and a /docs subpath?

Yes. Mintlify includes custom domains on every plan, with automatic TLS, and can serve docs at a subpath like example.com/docs through four proxy methods.

November 21, 2026
HC

Harkirat Chahal

Growth