Skip to content

Commit 4202bb0

Browse files
authored
Update versioning.mdx
editing the versions documentation to reflect the new feature mentioned here: https://app.plain.com/workspace/w_01H3FZJ8MG74GFXA5WA3MPB446/thread/th_01J8072V8GHJ17KYP2B1SNHGJX/
1 parent 44f572f commit 4202bb0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

settings/versioning.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ These guides will assume `v1` pages are in a folder named `v1`, `v2` pages are i
1010

1111
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.
1212

13+
If you would like to specify a default version, you can do so like this:
14+
15+
```
16+
"versions": [
17+
{
18+
name: "name",
19+
default: true
20+
}
21+
]
22+
```
23+
1324
<Tip>
1425
The versions dropdown will show your versions in the order you include them in
1526
`mint.json`.

0 commit comments

Comments
 (0)