0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/doctool
Rich Trott 6f64cda1ee tools,doc: fix version picker bug in html.js
The processing of strings like `8.x` into a major version number and a
minor version number results in minor versions that are `NaN`. In that
situation, since the picker will link to the latest docs in the
major version, include the version in the version picker.

Fixes: https://github.com/nodejs/node/issues/23979
PR-URL: https://github.com/nodejs/node/pull/24638
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
2018-11-27 19:14:54 -08:00
..
test-apilinks.js tools: Include links to source code in documentation 2018-08-29 22:20:46 -04:00
test-doctool-html.js tools,doc: fix version picker bug in html.js 2018-11-27 19:14:54 -08:00
test-doctool-json.js test: remove unused catch bindings 2018-11-06 10:59:18 -05:00
test-make-doc.js test: provide better message for orphan output documentation 2018-07-23 12:51:11 -07:00
testcfg.py