Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
tools: update marked dependency#6396
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
silverwind commented May 4, 2016
@nodejs/documentation |
tools/doc/html.js Outdated
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.
const?
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.
Wouldn't really fit the style of this file. I guess we shoul to es6ify the doctool later.
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.
Two lines below this, template strings are used :P
firedfoxMay 5, 2016 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
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.
Yes it's a problem. I think I'd better change the template string to string replace (edit: or just string add) in order to keep the style consistent.
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.
fwiw, I also used template strings in #6495, I don’t really think that’s a problem. And sorry for the merge conflict, btw, but that should be limited to the package.json.
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.
It doesn't matter. I rebased upstream and resolved the conflict.
I just changed the template to string add before I saw your latest comment :D
I think either is OK. At least the style is consistent now. We can es6ify it later.
silverwind commented May 4, 2016
Let's see if the doctool tests pass: |
7343c52 to 062bdf2Comparefiredfox commented May 6, 2016
silverwind commented May 6, 2016 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Probably nothing to worry about, I bet it'll be green next run. Here's another run:https://ci.nodejs.org/job/node-test-pull-request/2523/ LGTM, by the way. |
addaleax commented May 6, 2016
CI is red, example failure: https://ci.nodejs.org/job/node-test-commit-arm/3159/nodes=armv7-wheezy/tapTestReport/test.tap-1068/ That’s just whitespace changes in the test results, though. It may be nice to do something there like we do for the HTML output tests, i.e. strip whitespaces in both expected and actual output and compare that. |
fad0eac to d3ceaa8CompareUpdate module marked. Customize renderer to remove id from heading.
d3ceaa8 to c3208bcComparefiredfox commented May 7, 2016
@addaleax It's my bad. I modified the test case to make my local tests pass but forgot to commit it. It's updated now. I just removed extra |
addaleax commented May 7, 2016
LGTM pending CI: https://ci.nodejs.org/job/node-test-commit/3215/ |
addaleax commented May 7, 2016
CI is green. @firedfox the |
firedfox commented May 7, 2016
Oh yes, please change the |
addaleax commented May 7, 2016
Landed in 3f69ea5. Thanks! You can set this via |
Update module marked. Customize renderer to remove id from heading. PR-URL: #6396 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
bnoordhuis commented May 9, 2016
FYI, this PR looks to be breaking I'm going to look into what's causing the breakage but if I can't figure it out or it's too much effort to fix, I'll be moving to revert it. |
addaleax commented May 9, 2016
@bnoordhuisaddaleax/node@6e4342f seems to do the trick? |
bnoordhuis commented May 9, 2016
@addaleax Yes, seems to be working. |
bnoordhuis commented May 9, 2016
bnoordhuis commented May 10, 2016
Update module marked. Customize renderer to remove id from heading. PR-URL: #6396 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Update module marked. Customize renderer to remove id from heading. PR-URL: nodejs#6396 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Update module marked. Customize renderer to remove id from heading. PR-URL: #6396 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Update module marked. Customize renderer to remove id from heading. PR-URL: #6396 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Update module marked. Customize renderer to remove id from heading. PR-URL: #6396 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>

Checklist
Affected core subsystem(s)
tools
Description of change
Update module
tools/doc/node_modules/marked. Customize renderer to remove id from heading.Diff result for all.html http://106.187.89.52/tmp/diff-683f2a7-doc-html-all.html
Diff result for all.json http://106.187.89.52/tmp/diff-683f2a7-doc-json-all.html
The newly updated marked module fixed several problems in the doc.
Removed unnecessary
</p><p>In
addons.md:HTML result from:
to:
Fixed unordered list
In
util.md:HTML result from:
to:
Removed redundant new lines
In
addons.md:HTML result from:
to:
code element class name changes
It changed the class name for
codeelement fromcpp / js / javascripttolang-cpp / lang-js / lang-javascript. It does not matter because there is no style defined for these class names.