-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Fix active grandchild link class #962
Fix active grandchild link class #962
Conversation
I used the following command to compare built sites: diff -r -x search-data.json -I "<meta\|BlogPosting" _site-0.4.0.rc1-3.8.7 _site-fix-nav-performance-3.8.7 > diff-r.txt The But I don't understand why |
An occurrence of `grandchild` was miss-spelled `grand_child` (!). That caused omission of the `active` class in the link in the nav panel for all grandchildren. This bug was discovered using `diff` to compare the generated sites built using v0.4.0.rc1 and commit 4396b6b on the fix-nav-performance PR branch.
3cce2ac
to
131cd28
Compare
The diff -r -x search-data.json -I "<meta\|BlogPosting" _site-0.4.0.rc1-3.8.7 _site-fix-nav-performance-3.8.7 > diff-r.txt The output was: diff-r.txt. It indicates that the omission of Does anyone know why |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick turnaround @pdmosses, I didn't catch this error earlier.
Unfortunately, not familiar with jekyll-seo-tag to answer your question on meta
-related shenanigans. Do you think this is appropriate to raise an issue upstream?
Changelog:
|
After the release of v0.4.0, I'll take a closer look. Perhaps somebody in our user community knows the answer, so I might raise it as a local issue. I've no idea whether the
|
An occurrence of
grandchild
was miss-spelledgrand_child
(!). That caused omission of theactive
class in the link in the nav panel for all grandchildren (affecting only the boldness of the displayed links).This bug was discovered using
diff
to compare just-the-docs/just-the-docs-tests sites built using v0.4.0.rc1 and commit 4396b6b on the fix-nav-performance PR branch.The bug is also evident in the nav panel at https://just-the-docs.github.io/just-the-docs/docs/ui-components/code/line-numbers/, which was built after pre-release v0.4.0.rc2.
A simple test of this PR is to compare the above nav panel link for
Code with line numbers
(when that page is selected) with the corresponding link in the preview of this PR.