Skip to content

Restore relative latest docs URL in version metadata - #2007

Closed
aditiabhang with Copilot wants to merge 2 commits into
eg-update-docs-to-8-0from
copilot/fix-code-review-comment-2006
Closed

aditiabhang with Copilot wants to merge 2 commits into
eg-update-docs-to-8-0from
copilot/fix-code-review-comment-2006

Conversation

Copilot AI commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

This addresses the PR review feedback on src/data/versions.ts to preserve environment-agnostic routing. The latest docs entry now uses a relative /docs path as requested in the review comment.

  • Problem addressed

    • The latest-version URL was set to an absolute host URL, which breaks non-production/dev-orb contexts.
    • The review requested reverting that value to /docs.
  • Change made

    • Updated the latest version entry in versions to use a relative URL only.
    • No other version entries or logic were modified.
{
  name: `v${config.DOCS_LATEST_VERSION}`,
  label: 'latest',
  url: '/docs'
}

@vercel

vercel Bot commented Sep 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sourcegraph-docs Ready Ready Preview Sep 17, 2026 6:07pm UTC

Request Review

Co-authored-by: aditiabhang <51350594+aditiabhang@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix code according to review comment 4039964153 Restore relative latest docs URL in version metadata Sep 17, 2026
Copilot AI requested a review from aditiabhang September 17, 2026 18:07

@aditiabhang aditiabhang left a comment

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.

Comment resolved.

@aditiabhang
aditiabhang marked this pull request as ready for review September 17, 2026 18:12
@github-actions

Copy link
Copy Markdown
Contributor

An error occurred while trying to automatically change base from eg-update-docs-to-8-0 to main September 17, 2026 19:09
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