-
Notifications
You must be signed in to change notification settings - Fork 53
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
bush: fix links to line numbers and syntax highlighting #2122
bush: fix links to line numbers and syntax highlighting #2122
Conversation
|
|
|
lib/html/static/js/search.js
Outdated
num = parseInt(num); | ||
|
||
if (previous_search) { | ||
loadFile("", num) |
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.
Note that https://github.com/oliver-sanders/rose/pull/5/files#diff-cb9830bbb3b655703396b58b67a92e6b adds javascript syntax checking to the test battery for sphinx/_static
this could be expanded to lib/html/static/js
as well.
f377245
to
095595f
Compare
@arjclark do you mind giving this one a quick sanity check? |
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.
Looks suitably sane to me. Assume we're ignoring the codacy bot comments as spurious?
@arjclark You know what I'd normally say about CamelCase! (OK, I do accept that we should update our JavaScript code to the standard practice, rightly or wrongly, but that should not be the concern of this PR.) |
INFO
,DEBUG
, ...) is now restored (broken by the new logging system).@matthewrmshin please assign second review when the time comes.