Skip to content

Commit 8b2c61c

Browse files
committed
doc: fix api docs style
doc/api/cluster.md L337: Use the definition link doc/api/deprecations.md L106: Fix the definition link name doc/api/errors.md L901: Remove unused definition PR-URL: #13970 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Cai <davidcai1993@yahoo.com>
1 parent 9955c30 commit 8b2c61c

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

doc/api/cluster.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ added: v6.0.0
334334

335335
Set by calling `.kill()` or `.disconnect()`. Until then, it is `undefined`.
336336

337-
The boolean `worker.exitedAfterDisconnect` allows distinguishing between
337+
The boolean [`worker.exitedAfterDisconnect`][] allows distinguishing between
338338
voluntary and accidental exit, the master may choose not to respawn a worker
339339
based on this value.
340340

doc/api/deprecations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ In an earlier version of the Node.js `cluster`, a boolean property with the name
103103
`suicide` was added to the `Worker` object. The intent of this property was to
104104
provide an indication of how and why the `Worker` instance exited. In Node.js
105105
6.0.0, the old property was deprecated and replaced with a new
106-
[worker.exitedAfterDisconnect][] property. The old property name did not
106+
[`worker.exitedAfterDisconnect`][] property. The old property name did not
107107
precisely describe the actual semantics and was unnecessarily emotion-laden.
108108

109109
<a id="DEP0008"></a>

doc/api/errors.md

-1
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,6 @@ installed.
894894
[domains]: domain.html
895895
[event emitter-based]: events.html#events_class_eventemitter
896896
[file descriptors]: https://en.wikipedia.org/wiki/File_descriptor
897-
[intl wiki]: https://github.com/nodejs/node/wiki/Intl
898897
[online]: http://man7.org/linux/man-pages/man3/errno.3.html
899898
[stream-based]: stream.html
900899
[syscall]: http://man7.org/linux/man-pages/man2/syscall.2.html

0 commit comments

Comments
 (0)