From 3cb74d72f86721f45a3c9fa309515824a9c07a47 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 26 Oct 2021 19:02:53 +0800 Subject: [PATCH] doc: fix markdown syntax and HTML tag misses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/40608 Reviewed-By: Antoine du Hamel Reviewed-By: Tobias Nießen Reviewed-By: Richard Lau Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca Reviewed-By: Voltrex --- doc/api/cli.md | 2 +- doc/api/crypto.md | 2 ++ doc/api/dns.md | 6 +++--- doc/api/os.md | 2 +- doc/api/tls.md | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 725184d163cdec..60200a7e0e26f6 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -830,7 +830,7 @@ warning will be written to stderr instead. The `file` name may be an absolute path. If it is not, the default directory it will be written to is controlled by the -[`--diagnostic-dir`]() command-line option. +[`--diagnostic-dir`][] command-line option. ### `--report-compact` diff --git a/doc/api/crypto.md b/doc/api/crypto.md index b23bee42e95bc6..669eb4373d65d2 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -5637,6 +5637,7 @@ See the [list of SSL OP Flags][] for details. SSL_OP_NO_TLSv1_3 Instructs OpenSSL to turn off TLS v1.3 + SSL_OP_PKCS1_CHECK_1 @@ -5662,6 +5663,7 @@ See the [list of SSL OP Flags][] for details. Instructs OpenSSL to always create a new key when using temporary/ephemeral ECDH parameters. + SSL_OP_SSLEAY_080_CLIENT_DH_BUG diff --git a/doc/api/dns.md b/doc/api/dns.md index 48796f9c846f30..705c654d9e2656 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -338,7 +338,7 @@ records. The type and structure of individual results varies based on `rrtype`: | `'TXT'` | text records | {string\[]} | [`dns.resolveTxt()`][] | On error, `err` is an [`Error`][] object, where `err.code` is one of the -[DNS error codes](). +[DNS error codes][]. ## `dns.resolve4(hostname[, options], callback)` @@ -942,7 +942,7 @@ based on `rrtype`: | `'TXT'` | text records | {string\[]} | [`dnsPromises.resolveTxt()`][] | On error, the `Promise` is rejected with an [`Error`][] object, where `err.code` -is one of the [DNS error codes](). +is one of the [DNS error codes][]. ### `dnsPromises.resolve4(hostname[, options])` @@ -1210,7 +1210,7 @@ Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an array of host names. On error, the `Promise` is rejected with an [`Error`][] object, where `err.code` -is one of the [DNS error codes](). +is one of the [DNS error codes][]. ### `dnsPromises.setDefaultResultOrder(order)` diff --git a/doc/api/os.md b/doc/api/os.md index c8d4380bec40ea..3a5d98264348b3 100644 --- a/doc/api/os.md +++ b/doc/api/os.md @@ -952,7 +952,7 @@ The following error constants are exported by `os.constants.errno`. EXDEV - Indicates an improper link. + Indicates an improper link. diff --git a/doc/api/tls.md b/doc/api/tls.md index ac582be4dd761d..e83a34ecf67ce9 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -459,7 +459,7 @@ The `'secure'` event is emitted by the `SecurePair` object once a secure connection has been established. As with checking for the server -[`'secureConnection'`]() +[`'secureConnection'`][] event, `pair.cleartext.authorized` should be inspected to confirm whether the certificate used is properly authorized.