diff options
author | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2020-09-14 18:09:13 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-10-01 16:19:12 +0300 |
commit | ecf5060a42a5cd073ed4200e80afae1a79178bba (patch) | |
tree | 75f774ee55e85607f285c58ac535a5c3bf709dd7 /doc/api/worker_threads.md | |
parent | 726143e683738b0e60580bdc247e6cfa60a0783a (diff) |
doc: use .md extension for internal links
This helps catch broken links as part of the test suite. This also
improves the user experience when browsing the markdown files.
PR-URL: https://github.com/nodejs/node/pull/35191
Fixes: https://github.com/nodejs/node/issues/35189
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api/worker_threads.md')
-rw-r--r-- | doc/api/worker_threads.md | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 97ddbdeeac9..308b53c2314 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -905,59 +905,59 @@ active handle in the event system. If the worker is already `unref()`ed calling [`'close'` event]: #worker_threads_event_close [`'exit'` event]: #worker_threads_event_exit [`ArrayBuffer`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer -[`AsyncResource`]: async_hooks.html#async_hooks_class_asyncresource -[`Buffer`]: buffer.html -[`Buffer.allocUnsafe()`]: buffer.html#buffer_static_method_buffer_allocunsafe_size -[ECMAScript module loader]: esm.html#esm_data_imports -[`ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST`]: errors.html#errors_err_missing_message_port_in_transfer_list -[`ERR_WORKER_NOT_RUNNING`]: errors.html#ERR_WORKER_NOT_RUNNING -[`EventEmitter`]: events.html +[`AsyncResource`]: async_hooks.md#async_hooks_class_asyncresource +[`Buffer`]: buffer.md +[`Buffer.allocUnsafe()`]: buffer.md#buffer_static_method_buffer_allocunsafe_size +[ECMAScript module loader]: esm.md#esm_data_imports +[`ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST`]: errors.md#errors_err_missing_message_port_in_transfer_list +[`ERR_WORKER_NOT_RUNNING`]: errors.md#ERR_WORKER_NOT_RUNNING +[`EventEmitter`]: events.md [`EventTarget`]: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget -[`FileHandle`]: fs.html#fs_class_filehandle -[`KeyObject`]: crypto.html#crypto_class_keyobject +[`FileHandle`]: fs.md#fs_class_filehandle +[`KeyObject`]: crypto.md#crypto_class_keyobject [`MessagePort`]: #worker_threads_class_messageport [`SharedArrayBuffer`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer [`Uint8Array`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array [`WebAssembly.Module`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Module [`Worker`]: #worker_threads_class_worker -[`cluster` module]: cluster.html -[`fs.open()`]: fs.html#fs_fs_open_path_flags_mode_callback -[`fs.close()`]: fs.html#fs_fs_close_fd_callback +[`cluster` module]: cluster.md +[`fs.open()`]: fs.md#fs_fs_open_path_flags_mode_callback +[`fs.close()`]: fs.md#fs_fs_close_fd_callback [`markAsUntransferable()`]: #worker_threads_worker_markasuntransferable_object [`port.on('message')`]: #worker_threads_event_message [`port.onmessage()`]: https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessage [`port.postMessage()`]: #worker_threads_port_postmessage_value_transferlist -[`process.abort()`]: process.html#process_process_abort -[`process.chdir()`]: process.html#process_process_chdir_directory -[`process.env`]: process.html#process_process_env -[`process.execArgv`]: process.html#process_process_execargv -[`process.exit()`]: process.html#process_process_exit_code -[`process.stderr`]: process.html#process_process_stderr -[`process.stdin`]: process.html#process_process_stdin -[`process.stdout`]: process.html#process_process_stdout -[`process.title`]: process.html#process_process_title +[`process.abort()`]: process.md#process_process_abort +[`process.chdir()`]: process.md#process_process_chdir_directory +[`process.env`]: process.md#process_process_env +[`process.execArgv`]: process.md#process_process_execargv +[`process.exit()`]: process.md#process_process_exit_code +[`process.stderr`]: process.md#process_process_stderr +[`process.stdin`]: process.md#process_process_stdin +[`process.stdout`]: process.md#process_process_stdout +[`process.title`]: process.md#process_process_title [`require('worker_threads').isMainThread`]: #worker_threads_worker_ismainthread [`require('worker_threads').parentPort.on('message')`]: #worker_threads_event_message [`require('worker_threads').parentPort`]: #worker_threads_worker_parentport [`require('worker_threads').parentPort.postMessage()`]: #worker_threads_worker_postmessage_value_transferlist [`require('worker_threads').threadId`]: #worker_threads_worker_threadid [`require('worker_threads').workerData`]: #worker_threads_worker_workerdata -[`trace_events`]: tracing.html -[`v8.getHeapSnapshot()`]: v8.html#v8_v8_getheapsnapshot -[`vm`]: vm.html +[`trace_events`]: tracing.md +[`v8.getHeapSnapshot()`]: v8.md#v8_v8_getheapsnapshot +[`vm`]: vm.md [`Worker constructor options`]: #worker_threads_new_worker_filename_options [`worker.on('message')`]: #worker_threads_event_message_1 [`worker.postMessage()`]: #worker_threads_worker_postmessage_value_transferlist [`worker.SHARE_ENV`]: #worker_threads_worker_share_env [`worker.terminate()`]: #worker_threads_worker_terminate [`worker.threadId`]: #worker_threads_worker_threadid_1 -[Addons worker support]: addons.html#addons_worker_support -[async-resource-worker-pool]: async_hooks.html#async-resource-worker-pool +[Addons worker support]: addons.md#addons_worker_support +[async-resource-worker-pool]: async_hooks.md#async-resource-worker-pool [HTML structured clone algorithm]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm -[Signals events]: process.html#process_signal_events +[Signals events]: process.md#process_signal_events [Web Workers]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API [browser `MessagePort`]: https://developer.mozilla.org/en-US/docs/Web/API/MessagePort -[child processes]: child_process.html -[contextified]: vm.html#vm_what_does_it_mean_to_contextify_an_object -[v8.serdes]: v8.html#v8_serialization_api +[child processes]: child_process.md +[contextified]: vm.md#vm_what_does_it_mean_to_contextify_an_object +[v8.serdes]: v8.md#v8_serialization_api [`data:` URL]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs |