Skip to content

Commit

Permalink
doc: fix markdown syntax and HTML tag misses
Browse files Browse the repository at this point in the history
PR-URL: #40608
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
  • Loading branch information
AliasT authored and BethGriggs committed Nov 25, 2021
1 parent 59c26a2 commit 3cb74d7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion doc/api/cli.md
Expand Up @@ -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`

Expand Down
2 changes: 2 additions & 0 deletions doc/api/crypto.md
Expand Up @@ -5637,6 +5637,7 @@ See the [list of SSL OP Flags][] for details.
<td><code>SSL_OP_NO_TLSv1_3</code></td>
<td>Instructs OpenSSL to turn off TLS v1.3</td>
</tr>
<tr>
<td><code>SSL_OP_PKCS1_CHECK_1</code></td>
<td></td>
</tr>
Expand All @@ -5662,6 +5663,7 @@ See the [list of SSL OP Flags][] for details.
<td>Instructs OpenSSL to always create a new key when using
temporary/ephemeral ECDH parameters.</td>
</tr>
<tr>
<td><code>SSL_OP_SSLEAY_080_CLIENT_DH_BUG</code></td>
<td></td>
</tr>
Expand Down
6 changes: 3 additions & 3 deletions doc/api/dns.md
Expand Up @@ -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)`

Expand Down Expand Up @@ -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])`

Expand Down Expand Up @@ -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)`

Expand Down
2 changes: 1 addition & 1 deletion doc/api/os.md
Expand Up @@ -952,7 +952,7 @@ The following error constants are exported by `os.constants.errno`.
</tr>
<tr>
<td><code>EXDEV</code></td>
<td>Indicates an improper link.
<td>Indicates an improper link.</td>
</tr>
</table>

Expand Down
2 changes: 1 addition & 1 deletion doc/api/tls.md
Expand Up @@ -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.

Expand Down

0 comments on commit 3cb74d7

Please sign in to comment.