doc: fix some nits in hardcoded manpage links · nodejs/node@8a17a25 · GitHub
Skip to content

Commit 8a17a25

Browse files
vsemozhetbytMylesBorins
authored andcommitted
doc: fix some nits in hardcoded manpage links
After #20785, we wrap autogenerated manpage links in code elements. This PR unify some hardcoded manpage links with autogenerated ones: it adds backticks, parentheses, section numbers, and updates URLs. Also, some typos are fixes in passing (missing periods, reference sorting). PR-URL: #20854 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 3110d15 commit 8a17a25

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

doc/api/errors.md

Lines changed: 3 additions & 3 deletions

doc/api/fs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3036,9 +3036,9 @@ The recursive option is only supported on macOS and Windows.
30363036
This feature depends on the underlying operating system providing a way
30373037
to be notified of filesystem changes.
30383038

3039-
* On Linux systems, this uses [`inotify`]
3040-
* On BSD systems, this uses [`kqueue`]
3041-
* On macOS, this uses [`kqueue`] for files and [`FSEvents`] for directories.
3039+
* On Linux systems, this uses [`inotify(7)`].
3040+
* On BSD systems, this uses [`kqueue(2)`].
3041+
* On macOS, this uses [`kqueue(2)`] for files and [`FSEvents`] for directories.
30423042
* On SunOS systems (including Solaris and SmartOS), this uses [`event ports`].
30433043
* On Windows systems, this feature depends on [`ReadDirectoryChangesW`].
30443044
* On Aix systems, this feature depends on [`AHAFS`], which must be enabled.
@@ -4680,8 +4680,8 @@ the file contents.
46804680
[`fs.watch()`]: #fs_fs_watch_filename_options_listener
46814681
[`fs.write()`]: #fs_fs_write_fd_buffer_offset_length_position_callback
46824682
[`fs.writeFile()`]: #fs_fs_writefile_file_data_options_callback
4683-
[`inotify`]: http://man7.org/linux/man-pages/man7/inotify.7.html
4684-
[`kqueue`]: https://www.freebsd.org/cgi/man.cgi?kqueue
4683+
[`inotify(7)`]: http://man7.org/linux/man-pages/man7/inotify.7.html
4684+
[`kqueue(2)`]: https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
46854685
[`net.Socket`]: net.html#net_class_net_socket
46864686
[`stat()`]: fs.html#fs_fs_stat_path_callback
46874687
[`util.promisify()`]: util.html#util_util_promisify_original

doc/api/net.md

Lines changed: 3 additions & 2 deletions

0 commit comments

Comments
 (0)