Skip to content

Commit f0e4bf9

Browse files
cjihrigtargos
authored andcommitted
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: #28580 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent a6d50a7 commit f0e4bf9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api/zlib.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,7 @@ All of the constants defined in `zlib.h` are also defined on
258258
`require('zlib').constants`. In the normal course of operations, it will not be
259259
necessary to use these constants. They are documented so that their presence is
260260
not surprising. This section is taken almost directly from the
261-
[zlib documentation][]. See <https://zlib.net/manual.html#Constants> for more
262-
details.
261+
[zlib documentation][].
263262

264263
Previously, the constants were available directly from `require('zlib')`, for
265264
instance `zlib.Z_NO_FLUSH`. Accessing the constants directly from the module is
@@ -408,8 +407,8 @@ ignored by the decompression classes.
408407
empty dictionary by default)
409408
* `info` {boolean} (If `true`, returns an object with `buffer` and `engine`.)
410409

411-
See the description of `deflateInit2` and `inflateInit2` at
412-
<https://zlib.net/manual.html#Advanced> for more information on these.
410+
See the [`deflateInit2` and `inflateInit2`][] documentation for more
411+
information.
413412

414413
## Class: BrotliOptions
415414
<!-- YAML
@@ -1039,6 +1038,7 @@ Decompress a chunk of data with [`Unzip`][].
10391038
[`Inflate`]: #zlib_class_zlib_inflate
10401039
[`TypedArray`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
10411040
[`Unzip`]: #zlib_class_zlib_unzip
1041+
[`deflateInit2` and `inflateInit2`]: https://zlib.net/manual.html#Advanced
10421042
[`stream.Transform`]: stream.html#stream_class_stream_transform
10431043
[`zlib.bytesWritten`]: #zlib_zlib_byteswritten
10441044
[Brotli parameters]: #zlib_brotli_constants

0 commit comments

Comments
 (0)