| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@nodejs/documentation |
Sorry, something went wrong.
There was a problem hiding this comment.
const?
Sorry, something went wrong.
There was a problem hiding this comment.
Wouldn't really fit the style of this file. I guess we shoul to es6ify the doctool later.
Sorry, something went wrong.
There was a problem hiding this comment.
Two lines below this, template strings are used :P
Sorry, something went wrong.
There was a problem hiding this comment.
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.
Sorry, something went wrong.
There was a problem hiding this comment.
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.
Sorry, something went wrong.
There was a problem hiding this comment.
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.
Sorry, something went wrong.
|
Let's see if the doctool tests pass: |
Sorry, something went wrong.
Sorry, something went wrong.
|
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. |
Sorry, something went wrong.
|
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. |
Sorry, something went wrong.
Update module marked. Customize renderer to remove id from heading.
|
@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 \ns from the expected data. Those \ns are bugs of the old version marked module. I think they will not change in future. So we don't have to take more effort to strip them from json objects. |
Sorry, something went wrong.
|
LGTM pending CI: https://ci.nodejs.org/job/node-test-commit/3215/ |
Sorry, something went wrong.
|
CI is green. @firedfox the Author: field in your git commit is set to firedfox, but you are listed with your full name in the AUTHORS file. If you want, this can be fixed in when landing the commit? |
Sorry, something went wrong.
|
Oh yes, please change the Author field to my full name. Thank you! |
Sorry, something went wrong.
|
Landed in 3f69ea5. Thanks! You can set this via git config [--global] user.name '…', btw. :) |
Sorry, something went wrong.
Update module marked. Customize renderer to remove id from heading. PR-URL: #6396 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Anna Henningsen <anna@addaleax.net>
|
FYI, this PR looks to be breaking tools/doc/addon-verify.js; as a result, the embedded add-ons in the documentation are no longer built and tested. 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. |
Sorry, something went wrong.
|
@bnoordhuis addaleax/node@6e4342f seems to do the trick? |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Update module marked. Customize renderer to remove id from heading. PR-URL: #6396 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Update module marked. Customize renderer to remove id from heading. PR-URL: nodejs#6396 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Update module marked. Customize renderer to remove id from heading. PR-URL: #6396 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Update module marked. Customize renderer to remove id from heading. PR-URL: #6396 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Update module marked. Customize renderer to remove id from heading. PR-URL: #6396 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Anna Henningsen <anna@addaleax.net>
| Back | FazBrowse Home | New Git URL |
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 code element from cpp / js / javascript to lang-cpp / lang-js / lang-javascript. It does not matter because there is no style defined for these class names.