Configure links and redirects for your site
Set up the navigation for your documentation site built with Fern Docs using the docs.yml file
The redirects object allows you to redirect traffic from one path to another. You can also use regex within redirects.
By default, the redirects implement temporary (302) redirects. If you would like to implement permanent (301) redirects, you can set permanent: true.
If your docs are hosted on a subpath (like buildwithfern.com/learn), be sure to include the subpath in the redirect.
You can add a link to an external page within your sidebar navigation with the following configuration:
