From 4c132fe61ebf504ee9ac3304c5400d3c06e3ec20 Mon Sep 17 00:00:00 2001 From: Roman Klauke Date: Tue, 12 Jan 2016 22:34:47 +0100 Subject: [PATCH] doc: make references clickable The child_process docs contained some links, but some links were somehow "broken". `make doc` couldn't translate them and left `[]` in the compiled HTML. PR-URL: https://github.com/nodejs/node/pull/4654 Reviewed-By: Roman Reiss Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- doc/api/child_process.markdown | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown index 3633e6125c..18f37502ac 100644 --- a/doc/api/child_process.markdown +++ b/doc/api/child_process.markdown @@ -60,8 +60,8 @@ The `child_process.spawn()`, `child_process.fork()`, `child_process.exec()`, and `child_process.execFile()` methods all follow the idiomatic asynchronous programming pattern typical of other Node.js APIs. -Each of the methods returns a [ChildProcess][] instance. These objects -implement the Node.js [EventEmitter][] API, allowing the parent process to +Each of the methods returns a [`ChildProcess`][] instance. These objects +implement the Node.js [`EventEmitter`][] API, allowing the parent process to register listener functions that are called when certain events occur during the life cycle of the child process. @@ -221,9 +221,8 @@ spawned, behaviors such as I/O redirection and file globbing are not supported. (Default: `process.execArgv`) * `silent` {Boolean} If true, stdin, stdout, and stderr of the child will be piped to the parent, otherwise they will be inherited from the parent, see - the `'pipe'` and `'inherit'` options for [`spawn()`][]'s [`stdio`][] for - more details - (default is false) + the `'pipe'` and `'inherit'` options for [`child_process.spawn()`][]'s + [`stdio`][] for more details (default is false) * `uid` {Number} Sets the user identity of the process. (See setuid(2).) * `gid` {Number} Sets the group identity of the process. (See setgid(2).) * Return: ChildProcess object @@ -922,6 +921,7 @@ then this will be `undefined`. to the same value. [`popen(3)`]: http://linux.die.net/man/3/popen +[`ChildProcess`]: #child_process_child_process [`child_process.exec()`]: #child_process_child_process_exec_command_options_callback [`child_process.execFile()`]: #child_process_child_process_execfile_file_args_options_callback [`child_process.fork()`]: #child_process_child_process_fork_modulepath_args_options @@ -930,6 +930,7 @@ to the same value. [`ChildProcess#kill()`]: #child_process_child_kill_signal [`ChildProcess#send()`]: #child_process_child_send_message_sendhandle_callback [`Error`]: errors.html#errors_class_error +[`EventEmitter`]: events.html#events_class_events_eventemitter [`EventEmitters`]: events.html#events_class_events_eventemitter [`net.Server`]: net.html#net_class_net_server [`net.Socket`]: net.html#net_class_net_socket