Skip to content

Improve PyGMT documentation usability and consistency #4810

Closed

Description

@seisman

After redesigning the PyGMT documentation landing page and the project README (#4746), I feel it is a good time to further improve the documentation. Below are some documentation issues and ideas that we can discuss and address.

Activity

  1. added this to the 0.20.0 milestone on Aug 9, 2026
  2. added
    documentation
    help wanted
    discussions
    on Aug 9, 2026
  3. removed this from the 0.20.0 milestone on Aug 9, 2026
  4. pinned this issue on Aug 9, 2026
  5. unpinned this issue on Aug 12, 2026
  6. pinned this issue on Aug 23, 2026
  7. unpinned this issue on Sep 5, 2026
  8. seisman commented on Sep 23, 2026

    @seisman
    MemberAuthor

    Sorry that I accidentally pushed changes (commit 32fbfbc) directly to the main branch.

    That commit adds two more links to the sidebar to increas the visibility of the PDF/HTML documentation. It also copies the PDF/HTML documentation on the release event, so that we also have the PDF/HTML documentation for releases, rather than only for dev versions.

    At https://www.pygmt.org/dev/index.html:
    Image

    Please let me know if you think further changes are needed.

  9. added this to the 0.20.0 milestone on Sep 24, 2026
  10. removed
    help wanted
    discussions
    on Sep 24, 2026
  11. seisman commented on Nov 16, 2026

    @seisman
    MemberAuthor

    Sorry that I accidentally pushed changes (commit 32fbfbc) directly to the main branch.

    That commit adds two more links to the sidebar to increas the visibility of the PDF/HTML documentation. It also copies the PDF/HTML documentation on the release event, so that we also have the PDF/HTML documentation for releases, rather than only for dev versions.

    At pygmt.org/dev/index.html: Image

    Please let me know if you think further changes are needed.

    @GenericMappingTools/pygmt-maintainers I'd like more discussions on it. Currently the sidebar is too long and readers have to scroll down to the bottom to see the PDF/HTML links. I wonder if we should just add a note at the bottom on the landing page, e.g.,

    The documentation is also available offline in PDF and HTML (zip) format.

  12. weiji14 commented on Nov 16, 2026

    @weiji14
    Member

    Currently the sidebar is too long and readers have to scroll down to the bottom to see the PDF/HTML links. I wonder if we should just add a note at the bottom on the landing page, e.g.,

    The documentation is also available offline in PDF and HTML (zip) format.

    I think it's ok to keep it there. But if you want to be fancy, usually readthedocs sites (e.g. https://pygmt-dev.readthedocs.io/en/latest/) have a flyout menu to put these different versions that we can try to mimic. There seems to be a Sphinx plugin for it (https://github.com/irsural/sphinx-flyout), but it's all in Russian I think 😂

  13. seisman commented on Nov 18, 2026

    @seisman
    MemberAuthor

    It seems the sphinx-layout plugin is not actively maintained since 2024, so I prefer not to use it. Closing the issue and keep the two links in sidebar.

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

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions