From 17d0830cf88137eed940f81e4b86ad044d2b02da 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 c01b397e83615f..cad4687492a12a 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -861,7 +861,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 2011149b1d0d9f..c6fb5733d9c846 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -5643,6 +5643,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 @@ -5668,6 +5669,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 bcbdeb9bbb7c4d..c1089f2b244e28 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -344,7 +344,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)` @@ -954,7 +954,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])` @@ -1224,7 +1224,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 ca941bb8618aee..19d0528b0ea85f 100644 --- a/doc/api/os.md +++ b/doc/api/os.md @@ -954,7 +954,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 39353c08d00050..392d68bcb54e8c 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.