pivotal / docs-platform-automation

docs repo for the Platform Automation package
https://docs.pivotal.io/platform-automation/
Other
13 stars 12 forks source link

Hamburger menu always shows Pipeline Design sub-menu initially #11

Closed noizwaves closed 5 years ago

noizwaves commented 5 years ago

Describe the bug When looking at a page, the hamburger menu does not "focus" on where the page is in the menu hierarchy. This confused me initially when exploring the breadth of the documentation.

To Reproduce Steps to reproduce the behavior:

  1. In Chrome, navigate to https://docs-platform-automation.cfapps.io/platform-automation/v2.1/reference/task.html
  2. Click on the hamburger menu icon
  3. Menu shows the "Pipeline Design" sub-menu

Expected behavior Expected to see the "References" sub-menu shown

Screenshots

actual behaviour

Desktop (please complete the following information):

Additional context Even more confusing, pressing the back button located in the menu itself does not traverse up the menu hierarchy to the root. Instead, it traverses linearly back through the sibling sub-menus.

cf-gitbot commented 5 years ago

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

jtarchie commented 5 years ago

Notes to self: This appears to be an issue with the expanded left hand side nav. Using the base mkdocs-material we forced the subsections always to be expanded in a wide view mode. When the hamburger appears, the expansion of all the subsections is what is causing the layers on layers of navigation.

kcboyle commented 5 years ago

This should be fixed in the next release of platform automation 2.2.0

noizwaves commented 5 years ago

Awesome, thank you! 🙂

jtarchie commented 5 years ago

This has been released!