-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fixing JS search #205
Fixing JS search #205
Conversation
This needs the doc-code-rebased-rebased branch of Mathics core.
@@ -61,7 +60,6 @@ function loadDoc(page) { | |||
|
|||
function showDoc() { | |||
const docLink = document.getElementById('doclink'); | |||
loadDoc(''); |
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.
The problem with reloading the documentation page here is that it breaks the search bar.
@@ -98,6 +96,7 @@ function toggleDoc() { | |||
if (document.getElementById('doc').style.display !== 'none') { | |||
hideDoc(); | |||
} else { | |||
loadDoc("/"); |
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.
here do not seem to interfere
This now is better, but we are still missing some sections. I suspect we aren't searching all sections, like subsections or guide sections or something like that. |
and other small tweaks
LGTM - With recent merge into this branch things work for me. |
This PR fixes the issue with the search bar.