summaryrefslogtreecommitdiff
path: root/doc/api/documentation.md
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-09 19:30:22 +0300
committerTrivikram Kamat <16024985+trivikr@users.noreply.github.com>2018-04-11 21:42:38 -0700
commit9c8857d9461210185e7272a15a1a2f5b75b31faa (patch)
tree972c2219f2e170a380068f6d2d326e6a25c00f04 /doc/api/documentation.md
parent7ead832b5a134246e081ca0fe510d061abdd7829 (diff)
downloadandroid-node-v8-9c8857d9461210185e7272a15a1a2f5b75b31faa.tar.gz
android-node-v8-9c8857d9461210185e7272a15a1a2f5b75b31faa.tar.bz2
android-node-v8-9c8857d9461210185e7272a15a1a2f5b75b31faa.zip
doc: add quotes for event names + fix similar nits
PR-URL: https://github.com/nodejs/node/pull/19915 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/documentation.md')
-rw-r--r--doc/api/documentation.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/documentation.md b/doc/api/documentation.md
index 33da3a45e7..0cd84a9f62 100644
--- a/doc/api/documentation.md
+++ b/doc/api/documentation.md
@@ -63,7 +63,7 @@ failures or behavior changes when API modifications occur. To help avoid such
surprises, `Experimental` features may require a command-line flag to
explicitly enable them, or may cause a process warning to be emitted.
By default, such warnings are printed to [`stderr`][] and may be handled by
-attaching a listener to the [`process.on('warning')`][] event.
+attaching a listener to the [`'warning'`][] event.
## JSON Output
<!-- YAML
@@ -94,9 +94,9 @@ relative to Linux and macOS. For an example of the subtle ways in which it's
sometimes impossible to replace Unix syscall semantics on Windows, see [Node
issue 4760](https://github.com/nodejs/node/issues/4760).
-[submit an issue]: https://github.com/nodejs/node/issues/new
-[the contributing guide]: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
+[`'warning'`]: process.html#process_event_warning
[`stderr`]: process.html#process_process_stderr
-[`process.on('warning')`]: process.html#process_event_warning
[`fs.open()`]: fs.html#fs_fs_open_path_flags_mode_callback
[`fs.lchown()`]: fs.html#fs_fs_lchown_path_uid_gid_callback
+[submit an issue]: https://github.com/nodejs/node/issues/new
+[the contributing guide]: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md