-
Notifications
You must be signed in to change notification settings - Fork 879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Foldable nav behavior changes as of Hugo 0.100.0 #1065
Comments
I had only time for a short look at this issue:
Also possible side effects to the JS it the cached sidebar tree version should get checkt: docsy/layouts/partials/sidebar.html Lines 7 to 19 in 9f55cf3
--> After a quick check, I think, the cached version should work fine. I'm afraid, that I won't find the time to fix it and test it in the 1-2 weeks. So If anybody else can find time, it would be fine. If not, I have a time slot at the beginning of July, where I will update our own Docsy site. |
@raum51 - Right. No worries, I have a fix (see open-telemetry/opentelemetry.io#1477), which I'll port this week (and you'll be welcome to comment on if you have the time). |
/cc @nate-double-u |
Visit a section with children and prior to Hugo 0.100.0 and you'll see the section entry open (with children visible) in the left nav. After 0.100.0, the same left-nav entry isn't open. For example, compare the state of the left-nav for the following two preview builds:
https://deploy-preview-1477--opentelemetry.netlify.app/docs/instrumentation/js/api/ - uses Hugo 0.100.2I've updated the PR so the problem no longer appears. I've included below a screenshot illustrating the original problem.In particular, I'm guessing that we're being hit by the following:
The resources above suggests a means of preserving the old behavior (which we may or may not want to do).
Related:
Screenshots
Hugo 0.98
Hugo 0.100.2
The text was updated successfully, but these errors were encountered: