Skip to content

Support always-latest links to versioned docs #221

Open
@huonw

Description

@huonw

Currently the docs for each version of Pants have a version in the URL, e.g. https://www.pantsbuild.org/2.21/docs/introduction/welcome-to-pants

In https://chat.pantsbuild.org/t/18888509/does-the-new-docsite-allow-latest-links-we-don-t-want-to-alw#17a3e060-95da-4879-a1e9-7254e042288b / https://pantsbuild.slack.com/archives/C0D7TNJHL/p1717762737437129 , there's discussion that this can be annoying in some circumstances, and it might be nice to support URLs that always point to the latest stable release, for instance, we're up to 2.21.0, so maybe one of these could be currently equivalent to the link above... and when we release 2.22 they'd automatically point to the new one:

NB. it'd be good to support a versioned permalink even for the latest docs (i.e. visiting the 2.21 link above should still work even now).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions