Skip to content

Unclear structure of navigation bar of PyGMT website #2042

Closed

Description

@yvonnefroehlich

When looking at the navigation bar on the left side of the PyGMT website, I am wondering why in the USER GUIDE part the last sub-point of a section contains all sub-points of this section as sub-sub-points:

pygmt_website_tutorials

pygmt_website_gallery

pygmt_website_projections

I think this makes no sense and the navigation bar should be restructured in the way that the example lists are shifted to the respective sub-point, e.g.:

Activity

  1. seisman commented on Aug 6, 2022

    @seisman
    Member

    I don't see the problem in the v0.7.0 documentation. I think it's likely caused by bugs or incompatible changes in the recent release of sphinx-gallery (https://github.com/sphinx-gallery/sphinx-gallery/releases/tag/v0.11.0).

  2. yvonnefroehlich commented on Aug 7, 2022

    @yvonnefroehlich
    MemberAuthor

    Our issue seems similar to issue sphinx-gallery/sphinx-gallery#935. The problem seems to be related to changes in PR sphinx-gallery/sphinx-gallery#904. But it should be fixed in PR sphinx-gallery/sphinx-gallery#944, which is in the last release v0.11.0 of sphinx-gallery. Maybe / probably there is a relation to sphinx-gallery/sphinx-gallery#944 (comment). And we have to adjust the conf.py file in the way that nested_sections=False.
    Please note, until now I did not totally understand what they wanted to change or improve in PR sphinx-gallery/sphinx-gallery#904.

  3. seisman commented on Aug 8, 2022

    @seisman
    Member

    Maybe / probably there is a relation to sphinx-gallery/sphinx-gallery#944 (comment). And we have to adjust the conf.py file in the way that nested_sections=False.

    Could you please make a PR with nested_sections=False and see if it works as we expect?

  4. added
    maintenance
    on Aug 8, 2022
  5. added this to the 0.8.0 milestone on Aug 8, 2022
  6. yvonnefroehlich commented on Aug 19, 2022

    @yvonnefroehlich
    MemberAuthor

    Unfortunately, there is still or now another small error in the structure of the navigation bar. Under the section Projection Table the sub-subsection for the Non-geographic Projections are listed or repeated:

    gallery_navbar_ProjectionTable_afterbugfix

  7. modified the milestones: 0.8.0, 0.9.0 on Dec 11, 2022
  8. modified the milestones: 0.9.0, 0.10.0 on Mar 16, 2023
  9. modified the milestones: 0.10.0, 0.9.0 on Mar 26, 2023
  10. seisman commented on Mar 26, 2023

    @seisman
    Member

    The issue may have been fixed in the latest sphinx-gallery releases and the navigation bar looks good in our dev documentation (https://www.pygmt.org/dev/projections/index.html#projection-table).

    Closing the issue now. Please reopen it if you find any other similar issues.

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

    maintenance

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions