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 VoltrexKeyva committed Oct 28, 2021
1 parent f3125cf commit 17d0830
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
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
2 changes: 2 additions & 0 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -5643,6 +5643,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 @@ -5668,6 +5669,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
Original file line number Diff line number Diff line change
Expand Up @@ -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)`

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

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

Expand Down
2 changes: 1 addition & 1 deletion doc/api/os.md
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,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
Original file line number Diff line number Diff line change
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 17d0830

Please sign in to comment.