tools: fix sorting in doc/type-parser.js
This section groups type links by their home modules and sort these groups alphabetically, so `modules` types should go before the `net` types. PR-URL: https://github.com/nodejs/node/pull/20976 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
6d3940e558
commit
c241b7d85c
@ -83,12 +83,12 @@ const customTypesMap = {
|
||||
'Http2Stream': 'http2.html#http2_class_http2stream',
|
||||
'ServerHttp2Stream': 'http2.html#http2_class_serverhttp2stream',
|
||||
|
||||
'module': 'modules.html#modules_the_module_object',
|
||||
|
||||
'Handle': 'net.html#net_server_listen_handle_backlog_callback',
|
||||
'net.Server': 'net.html#net_class_net_server',
|
||||
'net.Socket': 'net.html#net_class_net_socket',
|
||||
|
||||
'module': 'modules.html#modules_the_module_object',
|
||||
|
||||
'os.constants.dlopen': 'os.html#os_dlopen_constants',
|
||||
|
||||
'PerformanceEntry': 'perf_hooks.html#perf_hooks_class_performanceentry',
|
||||
|
Loading…
x
Reference in New Issue
Block a user