| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Previously the HTML title would be cut to the first text node only.
|
If possible could you add a test to https://github.com/nodejs/node/tree/master/test/doctool please? (Maybe to https://github.com/nodejs/node/blob/master/test/doctool/test-doctool-html.js?) |
Sorry, something went wrong.
@richardlau done! I've also make some refactoring to the test code (sample_document.md was parsed twice with the same code, there was an unused async keyword, I've added some more modern syntax to make it more readable, …), I can remove that from the current PR if we feel it doesn't belong here. |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Commit Queue failed- Loading data for nodejs/node/pull/35003 ✔ Done loading data for nodejs/node/pull/35003 ----------------------------------- PR info ------------------------------------ Title tools,doc: allow page titles to contain inline code (#35003) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch aduh95:fix-module-page-title -> nodejs:master Labels doc, tools Commits 3 - tools,doc: allow page titles to contain inline code - v12 compatible - Add tests and support for nested elements Committers 1 - Antoine du HAMEL PR-URL: https://github.com/nodejs/node/pull/35003 Reviewed-By: Richard Lau Reviewed-By: Rich Trott ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/35003 Reviewed-By: Richard Lau Reviewed-By: Rich Trott -------------------------------------------------------------------------------- ✔ Last GitHub Actions successful ℹ Last Full PR CI on 2020-09-02T15:08:40Z: https://ci.nodejs.org/job/node-test-pull-request/33014/ - Querying data for job/node-test-pull-request/33014/ ✔ Build data downloaded ✔ Last Jenkins CI successful ℹ This PR was created on Mon, 31 Aug 2020 23:18:36 GMT ✔ Approvals: 2 ✔ - Richard Lau (@richardlau): https://github.com/nodejs/node/pull/35003#pullrequestreview-480703930 ✔ - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/35003#pullrequestreview-480855115 ✖ This PR needs to wait 6 more hours to land -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncu |
Sorry, something went wrong.
Commit Queue failed- Loading data for nodejs/node/pull/35003 ✔ Done loading data for nodejs/node/pull/35003 ----------------------------------- PR info ------------------------------------ Title tools,doc: allow page titles to contain inline code (#35003) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch aduh95:fix-module-page-title -> nodejs:master Labels commit-queue-failed, doc, tools Commits 3 - tools,doc: allow page titles to contain inline code - v12 compatible - Add tests and support for nested elements Committers 1 - Antoine du HAMEL PR-URL: https://github.com/nodejs/node/pull/35003 Reviewed-By: Richard Lau Reviewed-By: Rich Trott ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/35003 Reviewed-By: Richard Lau Reviewed-By: Rich Trott -------------------------------------------------------------------------------- ✔ Last GitHub Actions successful ℹ Last Full PR CI on 2020-09-02T16:48:11Z: https://ci.nodejs.org/job/node-test-pull-request/33014/ - Querying data for job/node-test-pull-request/33014/ ✔ Build data downloaded ✔ Last Jenkins CI successful ℹ This PR was created on Mon, 31 Aug 2020 23:18:36 GMT ✔ Approvals: 2 ✔ - Richard Lau (@richardlau): https://github.com/nodejs/node/pull/35003#pullrequestreview-480703930 ✔ - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/35003#pullrequestreview-480855115 ✖ This PR needs to wait 9 more minutes to land -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncu |
Sorry, something went wrong.
Commit Queue failed- Loading data for nodejs/node/pull/35003 ✔ Done loading data for nodejs/node/pull/35003 ----------------------------------- PR info ------------------------------------ Title tools,doc: allow page titles to contain inline code (#35003) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch aduh95:fix-module-page-title -> nodejs:master Labels commit-queue-failed, doc, tools Commits 3 - tools,doc: allow page titles to contain inline code - v12 compatible - Add tests and support for nested elements Committers 1 - Antoine du HAMEL PR-URL: https://github.com/nodejs/node/pull/35003 Reviewed-By: Richard Lau Reviewed-By: Rich Trott ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/35003 Reviewed-By: Richard Lau Reviewed-By: Rich Trott -------------------------------------------------------------------------------- ✔ Last GitHub Actions successful ℹ Last Full PR CI on 2020-09-02T23:09:17Z: https://ci.nodejs.org/job/node-test-pull-request/33014/ - Querying data for job/node-test-pull-request/33014/ ✔ Build data downloaded ✔ Last Jenkins CI successful ℹ This PR was created on Mon, 31 Aug 2020 23:18:36 GMT ✔ Approvals: 2 ✔ - Richard Lau (@richardlau): https://github.com/nodejs/node/pull/35003#pullrequestreview-480703930 ✔ - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/35003#pullrequestreview-480855115 -------------------------------------------------------------------------------- ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/master up to date... From https://github.com/nodejs/node * branch master -> FETCH_HEAD ✔ origin/master is now up-to-date - Downloading patch for 35003 ✔ Downloaded patch to /home/runner/work/node/node/.ncu/35003/patch -------------------------------------------------------------------------------- .git/rebase-apply/patch:87: trailing whitespace. there to test just that. warning: 1 line adds whitespace errors. Applying: tools,doc: allow page titles to contain inline code Applying: v12 compatible Applying: Add tests and support for nested elements ✔ Patches applied There are 3 commits in the PR. Attempting autorebase. Rebasing (2/6) |
Sorry, something went wrong.
There was a problem hiding this comment.
It doesn't seem to me like you actually ran the test. From what I gather, the CI doesn't run the doctool tests (not sure why), but please ensure that the test case being added does work, please.
Sorry, something went wrong.
Co-authored-by: Derek Lewis <DerekNonGeneric@inf.is>
Why would you say such a thing using such a phrasing? I'm contributing to Node.js in good faith, I'm sorry if I made you feel otherwise, but I did actually ran the test.
Yes, I'm pretty sure it does (it's part of make test-doc). If you want to convince yourself, you can open a PR that breaks this test, and check if you see a red cross. |
Sorry, something went wrong.
Sorry, I wasn't sure how else to phrase that, but I don't see how this could've been run and pass. Am I mistaken? That's possible.
I mean, this is pretty convincing already, but I may need to analyze this further. Lines 1512 to 1526 in 79ea22a It's not really your fault if the test runner is messed up and you weren't able to ensure the test worked properly. Sorry if I made it seem that way… |
Sorry, something went wrong.
|
I think that's the list of ignored suites for make jstest. But I'm just guessing, the discussion would be more productive if someone more familiar with the test tool wanted to chime in. From what I can see, make test should run the doctool test suite: Lines 600 to 609 in 79ea22a Lines 316 to 326 in 79ea22a |
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you for incorporating my feedback and clarifying why the test does work. 😜
Sorry, something went wrong.
Sorry, something went wrong.
Previously the HTML title would be cut to the first text node only. PR-URL: #35003 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Previously the HTML title would be cut to the first text node only. PR-URL: #35003 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Previously the HTML title would be cut to the first text node only. PR-URL: #35003 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Previously the HTML title would be cut to the first text node only. PR-URL: #35003 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Previously the HTML title would be cut to the first text node only. PR-URL: nodejs#35003 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
| Back | FazBrowse Home | New Git URL |
Previously the HTML title would be cut to the first text node only. This PR concats the text value of all the node children of the first heading.
This is currently visible on Modules: module API page:
Currently, on nodejs.org:
With this PR:
Checklist