Skip to content
Permalink
Browse files

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 <luigipinca@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
  • Loading branch information...
vsemozhetbyt authored and danbev committed Apr 8, 2019
1 parent 427fce7 commit d5f9cf81e33e3453c6863406a5478b86171730a5
Showing with 4 additions and 4 deletions.
  1. +2 −2 doc/api/dns.md
  2. +2 −2 doc/api/stream.md
@@ -527,7 +527,7 @@ added: v0.1.27
* `hostname` {string}
* `callback` {Function}
- `err` {Error}
- `records` {string[][]}
- `records` <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type" class="type">&lt;string[][]&gt;</a>

Uses the DNS protocol to resolve text queries (`TXT` records) for the
`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
progress.

The [`dns.setServers()`][] method affects only [`dns.resolve()`][],
[`dns.resolve*()`][] and [`dns.reverse()`][] (and specifically *not*
`dns.resolve*()` and [`dns.reverse()`][] (and specifically *not*
[`dns.lookup()`][]).

Note that this method works much like
@@ -481,7 +481,7 @@ added: v11.4.0

* {boolean}

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

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

* {boolean}

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

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

0 comments on commit d5f9cf8

Please sign in to comment.
You can’t perform that action at this time.