clean-jsdoc-theme icon indicating copy to clipboard operation
clean-jsdoc-theme copied to clipboard

Keep the current tab in the side menu highlighted.

Open backspaces opened this issue 11 months ago • 7 comments

Is your feature request related to a problem? Please describe.

I sometimes am unsure of which page I'm looking at. Highlighting it in the list on the left would solve this.

Describe the solution you'd like

Keep the current tab I’m reading in the side menu highlighted.

Describe alternatives you've considered

Possibly a css rule I could add?

Additional context

Here's a comment from one of my team members:

@backspaces: little UI note — keep the current tab I’m reading in the side menu highlighted. In this example, I’m reading page 4 - Model but forgot which tab I was on. I had to scroll back to the top of the page to see where to go next :]

image

backspaces avatar Mar 18 '24 23:03 backspaces

@backspaces Sure, I will add a css rule to highlight current page's url/href.

ankitskvmdam avatar Mar 20 '24 12:03 ankitskvmdam

Fixed: https://github.com/ankitskvmdam/clean-jsdoc-theme/commit/8f450cb40ca8c5b3cd94ebb8d4131d9425032714

ankitskvmdam avatar Mar 20 '24 13:03 ankitskvmdam

Update clean-jsdoc-theme to v4.2.18

ankitskvmdam avatar Mar 20 '24 13:03 ankitskvmdam

Hi. How do I turn on the highlighting? I'm running 4.2.18 as you suggest. Thanks!

backspaces avatar Mar 20 '24 21:03 backspaces

@backspaces It should be enabled by default. After opening the docs page, can you try to click any classes?

ankitskvmdam avatar Mar 21 '24 09:03 ankitskvmdam

https://code.agentscript.org/docs/AgentArray.html works, shows highlight but the tutorials do not highlight. I'd like that as well if possible.

backspaces avatar Mar 21 '24 17:03 backspaces

I think there is a bug. I will look into this. Thanks for the feedback!

ankitskvmdam avatar Mar 23 '24 08:03 ankitskvmdam