Skip to content

[Doc] Create an alias with version number to latest stable version #17438

Closed
apache/pulsar-site
#288

Description

@tisonkun

Search before asking

  • I searched in the issues and found nothing similar.

What issue do you find in Pulsar docs?

You can find docs for 2.9.x at: https://pulsar.apache.org/docs/2.9.x, for 2.10.1 at https://pulsar.apache.org/docs/2.10.1, but the latest stable version 2.10.x only lives at https://pulsar.apache.org/docs, not at https://pulsar.apache.org/docs/2.10.x.

This becomes a serious issue that users of the latest stable version can only share links to an unstable prefix https://pulsar.apache.org/docs, so that the result can change or the link can be broken later.

What is your suggestion?

We should generate a stable link for the latest stable version also.

cc @Anonymitaet @urfreespace

Any reference?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Activity

  1. added
    doc-required
    on Sep 2, 2022
  2. Anonymitaet commented on Sep 5, 2022

    @Anonymitaet
    Member

    @tisonkun thanks for reporting this issue!
    It makes sense to update https://pulsar.apache.org/docs to https://pulsar.apache.org/docs/2.10.x for 2.10.x doc URL. @momo-jun thoughts?

  3. momo-jun commented on Sep 5, 2022

    @momo-jun
    Contributor

    I don't have any objection to this request. CC @urfreespace.

    In my understanding, https://pulsar.apache.org/docs always represents the latest stable doc, which is version-neutral and good for doc iteration. When 2.10.x became an older version, it will have the URL https://pulsar.apache.org/docs/2.10.x then.

  4. tisonkun commented on Sep 5, 2022

    @tisonkun
    MemberAuthor

    @momo-jun yes. Please be aware that I'm not proposing remove docs and adding docs/2.10.x, but barely adding an alias (from /docs/ to /docs/2.10.x/ and update at every latest release).

    Supposed you're a user using 2.10.x, you share a link to the latest doc with your colleague, then 2.11.0 is released, and the link result changes.

  5. momo-jun commented on Sep 5, 2022

    @momo-jun
    Contributor

    @tisonkun I understand your concern. But I do think it somehow has a positive effect by sharing a version-neutral doc link, since we are continuously improving the existing content. The links pointing to the latest stable version can enable users to always look at a better version of the doc. If there are new features out of their reach in the new versions, they can switch doc versions then or even consider an upgrade.

  6. github-actions commented on Oct 6, 2022

    @github-actions

    The issue had no activity for 30 days, mark with Stale label.

  7. tisonkun commented on Oct 24, 2022

    @tisonkun
    MemberAuthor

    See #18026 (comment) and #18026 (comment).

    @urfreespace you may take a look and I'm gonna to work on it in the next month if there is no objection and no progress :)

  8. urfreespace commented on Oct 25, 2022

    @urfreespace
    Member

    See #18026 (comment) and #18026 (comment).

    @urfreespace you may take a look and I'm gonna to work on it in the next month if there is no objection and no progress :)

    I know what you mean, I have no objection

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

    doc-required

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions