Skip to content

Switch between different versions of documentations #609

Closed

Description

@seisman

Description of the desired feature

We have versioned documentation for each PyGMT release. All the versions are listed in the PyGMT main site.
image

GMT's PR GenericMappingTools/gmt#4110 enables switching between different versions. You can try the switcher in the GMT's documentation site.

To me, it would be great if the same feature can be implemented in the PyGMT site.

Are you willing to help implement and maintain this feature? Yes

Activity

  1. added
    documentation
    feature request
    on Sep 17, 2020
  2. weiji14 commented on Sep 17, 2020

    @weiji14
    Member
  3. seisman commented on Sep 17, 2020

    @seisman
    MemberAuthor

    I wonder though how other projects put it on the bottom bar. See e.g. xarray at http://xarray.pydata.org/en/stable/:

    ReadTheDocs automatically shows all versions if the project documentation is hosted on their server.

  4. weiji14 commented on Sep 17, 2020

    @weiji14
    Member

    Ah ok, but we don't use ReadTheDocs. Then just use the version_switch.js file then.

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

    documentationfeature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions