From f0e4bf990e03ce2271e6b83e5600129dc339b5a1 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Sat, 6 Jul 2019 10:53:01 -0400 Subject: [PATCH] doc: remove URLs from zlib docs This commit removes two URLs from the zlib documentation. One of the URLs is already linked to in the previous sentence, so it is removed completely. The other is changed to more human friendly link text. PR-URL: https://github.com/nodejs/node/pull/28580 Reviewed-By: Anna Henningsen Reviewed-By: Rich Trott Reviewed-By: Ruben Bridgewater --- doc/api/zlib.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api/zlib.md b/doc/api/zlib.md index fa1f39e72e4cde..98501507084aaa 100644 --- a/doc/api/zlib.md +++ b/doc/api/zlib.md @@ -258,8 +258,7 @@ All of the constants defined in `zlib.h` are also defined on `require('zlib').constants`. In the normal course of operations, it will not be necessary to use these constants. They are documented so that their presence is not surprising. This section is taken almost directly from the -[zlib documentation][]. See for more -details. +[zlib documentation][]. Previously, the constants were available directly from `require('zlib')`, for instance `zlib.Z_NO_FLUSH`. Accessing the constants directly from the module is @@ -408,8 +407,8 @@ ignored by the decompression classes. empty dictionary by default) * `info` {boolean} (If `true`, returns an object with `buffer` and `engine`.) -See the description of `deflateInit2` and `inflateInit2` at - for more information on these. +See the [`deflateInit2` and `inflateInit2`][] documentation for more +information. ## Class: BrotliOptions