Skip to content

Commit d5f9cf8

Browse files
vsemozhetbytdanbev
authored andcommitted
doc: fix some links
* Add missing reference ids. * Un-link impossible wildcard link. * Hardcode a link that baffles our new doc toolchain (`[][]` part is parsed as an empty link now instead of two-dimensional array sign). PR-URL: #27141 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]>
1 parent 427fce7 commit d5f9cf8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/api/dns.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ added: v0.1.27
527527
* `hostname` {string}
528528
* `callback` {Function}
529529
- `err` {Error}
530-
- `records` {string[][]}
530+
- `records` <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type" class="type">&lt;string[][]&gt;</a>
531531

532532
Uses the DNS protocol to resolve text queries (`TXT` records) for the
533533
`hostname`. The `records` argument passed to the `callback` function is a
@@ -576,7 +576,7 @@ The `dns.setServers()` method must not be called while a DNS query is in
576576
progress.
577577

578578
The [`dns.setServers()`][] method affects only [`dns.resolve()`][],
579-
[`dns.resolve*()`][] and [`dns.reverse()`][] (and specifically *not*
579+
`dns.resolve*()` and [`dns.reverse()`][] (and specifically *not*
580580
[`dns.lookup()`][]).
581581

582582
Note that this method works much like

doc/api/stream.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ added: v11.4.0
481481

482482
* {boolean}
483483

484-
Is `true` if it is safe to call [`writable.write()`][].
484+
Is `true` if it is safe to call [`writable.write()`][stream-write].
485485

486486
##### writable.writableHighWaterMark
487487
<!-- YAML
@@ -1066,7 +1066,7 @@ added: v11.4.0
10661066

10671067
* {boolean}
10681068

1069-
Is `true` if it is safe to call [`readable.read()`][].
1069+
Is `true` if it is safe to call [`readable.read()`][stream-read].
10701070

10711071
##### readable.readableHighWaterMark
10721072
<!-- YAML

0 commit comments

Comments
 (0)