Versioning
Allow users to navigate between different versions of your docs.
Each version of your docs can contain its own distinct tabs, sections, pages, and API references. Versions can share content, as well.
To add versions to your docs:
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.
Version-specific yml
files:
You can also have multiple products, some versioned and some unversioned. For more information on setting up multiple products, follow our product switching docs.