Skip to content

fix: sidebar and version navigation - #801

Merged
daniel-cohere merged 10 commits into
mainfrom
daniel/fix-sidebar-and-version-navigation
Aug 27, 2026
Merged

fix: sidebar and version navigation#801
daniel-cohere merged 10 commits into
mainfrom
daniel/fix-sidebar-and-version-navigation

Conversation

@daniel-cohere

@daniel-cohere daniel-cohere commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

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 /v2 to / in docs.yml so the v2 docs root resolves to the main site entry. The home page in index.mdx is refactored into a LandingPageContent component 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.yml and v2.yml, the API reference nav renames the top group from Endpoints to Inference, uses shorter section labels (e.g. chat instead of v2/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 groups check-api-key under Utilities.

Reviewed by Cursor Bugbot for commit e45c3f0. Bugbot is set up for automated code reviews on this repo. Configure here.

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>
@github-actions

Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ 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.

Comment thread fern/pages/index.mdx
Comment thread fern/docs.yml Outdated
@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

@daniel-cohere
daniel-cohere merged commit 6f01c2e into main Aug 27, 2026
12 checks passed
@daniel-cohere
daniel-cohere deleted the daniel/fix-sidebar-and-version-navigation branch August 27, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants