Permalink
Browse files

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: #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 committed May 26, 2018
1 parent 6d3940e commit c241b7d85cdd1ea33baf70b0e16c1f631a223e84
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/doc/type-parser.js
View
@@ -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',

0 comments on commit c241b7d

Please sign in to comment.