Skip to content

'Previous version' banner should redirect to /stable/<current-page> instead of docs home page #26857

@abschm

Description

@abschm

Summary

It would be nice if the 'You are viewing the docs for a previous version of Argo CD, click here to go to the latest stable version.' banner would redirect you to the stable version of the page you're already on instead of dumping you on the docs home page. This behavior catches me off guard at least weekly :) This pop-up does it, but it disappears quite quickly:

Image

Motivation

When reading documentation and especially when you get to the Argocd docs by search engine, which often lands you on the /latest/ version.

Proposal

Use the current URL in the banner redirect link, but /version/ replaced with /stable/

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:docsIssues related to documentation changes and improvementsenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions