Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update versioning.mdx #296

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
11 changes: 11 additions & 0 deletions settings/versioning.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ These guides will assume `v1` pages are in a folder named `v1`, `v2` pages are i

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.

If you would like to specify a default version, you can do so like this:

```
"versions": [
{
name: "name",
default: true
}
dino475 marked this conversation as resolved.
Show resolved Hide resolved
]
```

<Tip>
The versions dropdown will show your versions in the order you include them in
`mint.json`.
Expand Down