Skip to content
Open
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
10 changes: 5 additions & 5 deletions fern/products/docs/pages/navigation/versions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Each version of your docs can contain its own distinct tabs, sections, pages, an
<Steps toc={true}>
<Step title="Define your versions">

Create a `versions` folder inside of your `fern` folder. To specify the contents of each version, add a `.yml` file to the `versions` folder to define the navigational structure of that version. Make sure to include the `navigation` and `tabs` properties, if applicable.
Create a `versions` folder inside of your `fern` folder. To specify the contents of each version, add a `.yml` file to the `versions` folder to define the navigational structure of that version. Make sure to include the `navigation` and `tabs` properties, if applicable.

<CodeBlock>
```bash {7-11}
Expand Down Expand Up @@ -54,7 +54,7 @@ Define a version in the top-level `docs.yml` by adding an item to the `versions`

<CodeBlock title="docs.yml">
```yaml
versions:
versions:
- display-name: Latest # shown in the dropdown
path: ./versions/latest.yml # relative path to the version file
- display-name: V2
Expand All @@ -71,9 +71,9 @@ versions:

<CodeBlock title="docs.yml">
```yaml {4}
versions:
- display-name: Latest
path: ./versions/latest.yml
versions:
- display-name: Latest
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[FernStyles.Current] Avoid time-relative terms like 'Latest' that become outdated

path: ./versions/latest.yml
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[FernStyles.Current] Avoid time-relative terms like 'latest' that become outdated

availability: beta
- display-name: v2
path: ./versions/v2.yml
Expand Down
Loading