Skip to content

Commit

Permalink
doc: fix some links
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
vsemozhetbyt authored and danbev committed Apr 15, 2019
1 parent 427fce7 commit d5f9cf8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/api/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d5f9cf8

Please sign in to comment.