doc: remove file name from self-reference links

Refs: https://github.com/nodejs/remark-preset-lint-node/pull/188

PR-URL: https://github.com/nodejs/node/pull/39165
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
This commit is contained in:
Antoine du Hamel authored and Michaël Zasso committed 2021-09-04 10:34:33 +02:00
1 parent 6fdac38f91
commit e8355c47d2
5 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -6662,7 +6662,7 @@ the file contents.
[`fs.copyFile()`]: #fs_fs_copyfile_src_dest_mode_callback
[`fs.createReadStream()`]: #fs_fs_createreadstream_path_options
[`fs.createWriteStream()`]: #fs_fs_createwritestream_path_options
[`fs.exists()`]: fs.md#fs_fs_exists_path_callback
[`fs.exists()`]: #fs_fs_exists_path_callback
[`fs.fstat()`]: #fs_fs_fstat_fd_options_callback
[`fs.ftruncate()`]: #fs_fs_ftruncate_fd_len_callback
[`fs.futimes()`]: #fs_fs_futimes_fd_atime_mtime_callback
+2 -2
View File
@@ -2763,7 +2763,7 @@ cases:
[`process.hrtime()`]: #process_process_hrtime_time
[`process.hrtime.bigint()`]: #process_process_hrtime_bigint
[`process.kill()`]: #process_process_kill_pid_signal
[`process.setUncaughtExceptionCaptureCallback()`]: process.md#process_process_setuncaughtexceptioncapturecallback_fn
[`process.setUncaughtExceptionCaptureCallback()`]: #process_process_setuncaughtexceptioncapturecallback_fn
[`promise.catch()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch
[`queueMicrotask()`]: globals.md#globals_queuemicrotask_callback
[`readable.read()`]: stream.md#stream_readable_read_size
@@ -2773,7 +2773,7 @@ cases:
[`v8.setFlagsFromString()`]: v8.md#v8_v8_setflagsfromstring_flags
[debugger]: debugger.md
[deprecation code]: deprecations.md
[note on process I/O]: process.md#process_a_note_on_process_i_o
[note on process I/O]: #process_a_note_on_process_i_o
[process.cpuUsage]: #process_process_cpuusage_previousvalue
[process_emit_warning]: #process_process_emitwarning_warning_type_code_ctor
[process_warning]: #process_event_warning
+2 -2
View File
@@ -923,8 +923,8 @@ const { createInterface } = require('readline');
[TTY]: tty.md
[TTY keybindings]: #readline_tty_keybindings
[Writable]: stream.md#stream_writable_streams
[`'SIGCONT'`]: readline.md#readline_event_sigcont
[`'SIGTSTP'`]: readline.md#readline_event_sigtstp
[`'SIGCONT'`]: #readline_event_sigcont
[`'SIGTSTP'`]: #readline_event_sigtstp
[`'line'`]: #readline_event_line
[`fs.ReadStream`]: fs.md#fs_class_fs_readstream
[`process.stdin`]: process.md#process_process_stdin
+7 -7
View File
@@ -323,12 +323,12 @@ Cancels a `Timeout` object created by [`setTimeout()`][].
[Event Loop]: https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout
[`AbortController`]: globals.md#globals_class_abortcontroller
[`TypeError`]: errors.md#errors_class_typeerror
[`clearImmediate()`]: timers.md#timers_clearimmediate_immediate
[`clearInterval()`]: timers.md#timers_clearinterval_timeout
[`clearTimeout()`]: timers.md#timers_cleartimeout_timeout
[`setImmediate()`]: timers.md#timers_setimmediate_callback_args
[`setInterval()`]: timers.md#timers_setinterval_callback_delay_args
[`setTimeout()`]: timers.md#timers_settimeout_callback_delay_args
[`clearImmediate()`]: #timers_clearimmediate_immediate
[`clearInterval()`]: #timers_clearinterval_timeout
[`clearTimeout()`]: #timers_cleartimeout_timeout
[`setImmediate()`]: #timers_setimmediate_callback_args
[`setInterval()`]: #timers_setinterval_callback_delay_args
[`setTimeout()`]: #timers_settimeout_callback_delay_args
[`util.promisify()`]: util.md#util_util_promisify_original
[`worker_threads`]: worker_threads.md
[primitive]: timers.md#timers_timeout_symbol_toprimitive
[primitive]: #timers_timeout_symbol_toprimitive
+2 -2
View File
@@ -211,10 +211,10 @@ added: v0.7.7
* Returns: {number[]}
`writeStream.getWindowSize()` returns the size of the [TTY](tty.md)
`writeStream.getWindowSize()` returns the size of the TTY
corresponding to this `WriteStream`. The array is of the type
`[numColumns, numRows]` where `numColumns` and `numRows` represent the number
of columns and rows in the corresponding [TTY](tty.md).
of columns and rows in the corresponding TTY.
### `writeStream.hasColors([count][, env])`
<!-- YAML