diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-06 18:28:20 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-09 01:20:33 +0300 |
commit | 0bd3da15a080e9b363b37da53ca6cad4088d4aff (patch) | |
tree | 07a63a8227a24a98cec51745df198df24e874ed8 /tools | |
parent | c5291682491f1b7ee328b7fe5bbd037a91b8a79c (diff) | |
download | node-new-0bd3da15a080e9b363b37da53ca6cad4088d4aff.tar.gz |
doc: add and unify return statements in crypto.md
Conform return statements to the style guide and tool parsers.
Also bring back a description fragment
that seems to be erroneously deleted in
https://github.com/nodejs/node/commit/1e07acd476309e7ddc4981160b89731b61a31179
PR-URL: https://github.com/nodejs/node/pull/19853
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/doc/type-parser.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/doc/type-parser.js b/tools/doc/type-parser.js index 1cbd1a5552..5386039b36 100644 --- a/tools/doc/type-parser.js +++ b/tools/doc/type-parser.js @@ -40,6 +40,12 @@ const customTypesMap = { 'cluster.Worker': 'cluster.html#cluster_class_worker', + 'Cipher': 'crypto.html#crypto_class_cipher', + 'Decipher': 'crypto.html#crypto_class_decipher', + 'Hash': 'crypto.html#crypto_class_hash', + 'Hmac': 'crypto.html#crypto_class_hmac', + 'Sign': 'crypto.html#crypto_class_sign', + 'Verify': 'crypto.html#crypto_class_verify', 'crypto.constants': 'crypto.html#crypto_crypto_constants_1', 'dgram.Socket': 'dgram.html#dgram_class_dgram_socket', |