-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
tools,doc: allow page titles to contain inline code #35003
Conversation
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?) |
@richardlau done! I've also make some refactoring to the test code ( |
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 |
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 |
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) |
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 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.
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 |
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… |
I think that's the list of ignored suites for From what I can see, Lines 600 to 609 in 79ea22a
Lines 316 to 326 in 79ea22a
|
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.
Thank you for incorporating my feedback and clarifying why the test does work. 😜
This comment has been minimized.
This comment has been minimized.
Landed in d2c5e89. Thanks so much! |
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>
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
make -j4 test
(UNIX), orvcbuild test
(Windows) passes