Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions settings/versioning.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
---
title: "Versioning & Localization"
description: "Build separate versions or localizations"
icon: "square-chevron-down"
Expand All @@ -12,7 +12,7 @@ These guides will assume `v1` pages are in a folder named `v1`, `v2` pages are i

### Setup

Add `"versions": ["v2", "v1"]` to your `mint.json` file where `v1` and `v2` are the names of your versions. You can put any number of versions in this array. The first version from the array serves as the default version.
Add `"versions": ["v2", "v1"]` to your `docs.json` file where `v1` and `v2` are the names of your versions. You can put any number of versions in this array. The first version from the array serves as the default version.

If you would like to specify a default version, you can do so like this:
```json
Expand Down Expand Up @@ -172,7 +172,7 @@ Common errors and how to fix them

### Setup

`"versions"` in your `mint.json` can be leveraged to create different language versions by adding a `locale` value to the version. The first localization from the array serves as the default localization.
`"versions"` in your `docs.json` can be leveraged to create different language versions by adding a `locale` value to the version. The first localization from the array serves as the default localization.

We currently support localization in English (`en`), Chinese (`cn`), Spanish (`es`), French (`fr`), Japanese (`jp`), Portuguese (`pt`), Portuguese (Brazil) (`pt-BR`), and German (`de`).

Expand Down
Loading