From d5f9cf81e33e3453c6863406a5478b86171730a5 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Mon, 8 Apr 2019 23:41:10 +0300 Subject: [PATCH] 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: https://github.com/nodejs/node/pull/27141 Reviewed-By: Luigi Pinca Reviewed-By: Daniel Bevenius --- doc/api/dns.md | 4 ++-- doc/api/stream.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api/dns.md b/doc/api/dns.md index 1dc4f50ef668d2..d5af7aef8bfec7 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -527,7 +527,7 @@ added: v0.1.27 * `hostname` {string} * `callback` {Function} - `err` {Error} - - `records` {string[][]} + - `records` <string[][]> 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 diff --git a/doc/api/stream.md b/doc/api/stream.md index eb3925645ea498..15bff231efb661 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -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