Skip to content

Commit

Permalink
tools: fix sorting in doc/type-parser.js
Browse files Browse the repository at this point in the history
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: #20976
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
vsemozhetbyt authored and MylesBorins committed May 29, 2018
1 parent f0704f2 commit 46e7cec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/doc/type-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 46e7cec

Please sign in to comment.