fix: sidebar and version navigation - #801
Conversation
Bring in Fern CLI 5.55.0 required by fern-python-sdk 5.22.1, while keeping version-aware landing page links and v1/v2 redirects. Co-authored-by: Cursor <cursoragent@cursor.com>
|
🌿 Preview your docs: https://cohere-preview-01a0402d-62c6-716e-a928-ece1187f76e5.docs.buildwithfern.com |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c0acae2. Configure here.
|
🌿 Preview your docs: https://cohere-preview-01a04040-40e3-761c-bb77-2d4f5ce9baa0.docs.buildwithfern.com |
|
🌿 Preview your docs: https://cohere-preview-01a04048-ca86-704a-a9d8-f49ad32effb6.docs.buildwithfern.com |
|
🌿 Preview your docs: https://cohere-preview-01a0404a-7e44-722e-8c24-c38b75b18eed.docs.buildwithfern.com |
|
🌿 Preview your docs: https://cohere-preview-01a04054-d2a0-714d-b4fc-909db9970f58.docs.buildwithfern.com |
|
🌿 Preview your docs: https://cohere-preview-01a04059-d0c2-747c-8fe2-0d7583184342.docs.buildwithfern.com |
|
🌿 Preview your docs: https://cohere-preview-01a04071-bde3-74db-bc7d-973fdc74ed44.docs.buildwithfern.com |
|
🌿 Preview your docs: https://cohere-preview-01a0407c-c31c-7519-b4f0-ccdcedc71614.docs.buildwithfern.com |
|
🌿 Preview your docs: https://cohere-preview-01a04081-fdf7-7493-ae80-400cba95bcda.docs.buildwithfern.com |

Generating pr description
Note
Low Risk
Documentation and redirect/navigation config only; no runtime API or auth changes, though the
/v2→/redirect could affect bookmarked URLs until users follow the new paths.Overview
Improves docs version navigation and API reference sidebar structure without changing API behavior.
Adds a non-permanent redirect from
/v2to/indocs.ymlso the v2 docs root resolves to the main site entry. The home page inindex.mdxis refactored into aLandingPageContentcomponent that prefixes links (/v1/...when viewing v1, unprefixed otherwise), switches release notes to/changelog, and uses version conditionals for which prefix to render.In
v1.ymlandv2.yml, the API reference nav renames the top group from Endpoints to Inference, uses shorter section labels (e.g.chatinstead ofv2/chat), and introduces a Utilities section for tokenize, detokenize, datasets, and models. Deprecated endpoints get consistent naming; v2 moves some legacy generate/summarize entries out of hidden-only placement and groupscheck-api-keyunder Utilities.Reviewed by Cursor Bugbot for commit e45c3f0. Bugbot is set up for automated code reviews on this repo. Configure here.