Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign uptools,doc: fix version picker bug in html.js #24638
Conversation
Trott
added
doc
tools
labels
Nov 25, 2018
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
vsemozhetbyt
added
the
author ready
label
Nov 25, 2018
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/18963/ |
This comment has been minimized.
This comment has been minimized.
|
IIUC this will not fix already published documentation packages, right? |
This comment has been minimized.
This comment has been minimized.
Correct, but it will fix all the HTML versions of the docs hosted on the website for currently-supported release lines. I think that's sufficient. I don't think this warrants digging into 13 previous 8.x releases to correct a menu item in one or two files. It's a fair amount of work and I'm not sure that the messing-with-history is worth it? (We don't go back and change outright errors in docs for previous versions, and that would seem to be a lot more significant.) |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/18968/ |
This comment has been minimized.
This comment has been minimized.
|
Landed in 6f64cda |
Trott commentedNov 25, 2018
The processing of strings like
8.xinto a major version number and aminor version number results in minor versions that are
NaN. In thatsituation, since the picker will link to the latest docs in the
major version, include the version in the version picker.
Fixes: #23979
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes