summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2016-05-23 22:36:41 +0200
committerAnna Henningsen <anna@addaleax.net>2016-05-26 00:52:36 +0200
commit048b3de22d843a8dd3d00b00b702205ca90dbf58 (patch)
tree9aed5dab293d3f326572a71b127aef4fe01b9b9e /doc
parentb5f76dbd3ebdfa1ddecb57e8eb6479c4346c48e4 (diff)
downloadandroid-node-v8-048b3de22d843a8dd3d00b00b702205ca90dbf58.tar.gz
android-node-v8-048b3de22d843a8dd3d00b00b702205ca90dbf58.tar.bz2
android-node-v8-048b3de22d843a8dd3d00b00b702205ca90dbf58.zip
doc: fix broken references
Fix minor broken references in crypto.md, net.md and domains.md (which uses `EventEmitter` as a type, of which the anchor in `events.md` has changed). PR-URL: https://github.com/nodejs/node/pull/6941 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/crypto.md2
-rw-r--r--doc/api/net.md2
-rw-r--r--doc/topics/domain-postmortem.md4
3 files changed, 5 insertions, 3 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md
index 6ec85da64b..e195c98e32 100644
--- a/doc/api/crypto.md
+++ b/doc/api/crypto.md
@@ -1724,7 +1724,7 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL.
[`hmac.update()`]: #crypto_hmac_update_data_input_encoding
[`sign.sign()`]: #crypto_sign_sign_private_key_output_format
[`sign.update()`]: #crypto_sign_update_data_input_encoding
-[`tls.createSecureContext()`]: tls.html#tls_tls_createsecurecontext_details
+[`tls.createSecureContext()`]: tls.html#tls_tls_createsecurecontext_options
[`verify.update()`]: #crypto_verifier_update_data_input_encoding
[`verify.verify()`]: #crypto_verifier_verify_object_signature_signature_format
[Caveats]: #crypto_support_for_weak_or_compromised_algorithms
diff --git a/doc/api/net.md b/doc/api/net.md
index 62677255bb..02eeb26f5c 100644
--- a/doc/api/net.md
+++ b/doc/api/net.md
@@ -731,7 +731,7 @@ Returns true if input is a version 6 IP address, otherwise returns false.
[`connect()`]: #net_socket_connect_options_connectlistener
[`destroy()`]: #net_socket_destroy
[`dns.lookup()`]: dns.html#dns_dns_lookup_hostname_options_callback
-[`dns.lookup()` hints]: #dns_supported_getaddrinfo_flags
+[`dns.lookup()` hints]: dns.html#dns_supported_getaddrinfo_flags
[`end()`]: #net_socket_end_data_encoding
[`EventEmitter`]: events.html#events_class_eventemitter
[`net.Socket`]: #net_class_net_socket
diff --git a/doc/topics/domain-postmortem.md b/doc/topics/domain-postmortem.md
index 0a8a854a58..c33c85b430 100644
--- a/doc/topics/domain-postmortem.md
+++ b/doc/topics/domain-postmortem.md
@@ -153,7 +153,7 @@ handle. More on this in _Resource Cleanup on Exception_.
### Resource Cleanup on Exception
-The script [`domain-resource-cleanup.js`](domain-resource-cleanup.js)
+The script [`domain-resource-cleanup-example.js`][]
contains a more complex example of properly cleaning up in a small resource
dependency tree in the case that an exception occurs in a given connection or
any of its dependencies. Breaking down the script into its basic operations:
@@ -297,3 +297,5 @@ this writing there is ongoing work building out the `AsyncWrap` API and a
proposal for Zones being prepared for the TC39. At such time there is suitable
functionality to replace domains it will undergo the full deprecation cycle and
eventually be removed from core.
+
+[domain-resource-cleanup-example.js]: ./domain-resource-cleanup-example.js