Skip to content

Commit e0a954e

Browse files
aduh95nodejs-github-bot
authored andcommitted
doc: remove file name from self-reference links
Refs: nodejs/remark-preset-lint-node#188 PR-URL: #39165 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
1 parent 663d7e9 commit e0a954e

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

doc/api/fs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6743,7 +6743,7 @@ the file contents.
67436743
[`fs.copyFile()`]: #fs_fs_copyfile_src_dest_mode_callback
67446744
[`fs.createReadStream()`]: #fs_fs_createreadstream_path_options
67456745
[`fs.createWriteStream()`]: #fs_fs_createwritestream_path_options
6746-
[`fs.exists()`]: fs.md#fs_fs_exists_path_callback
6746+
[`fs.exists()`]: #fs_fs_exists_path_callback
67476747
[`fs.fstat()`]: #fs_fs_fstat_fd_options_callback
67486748
[`fs.ftruncate()`]: #fs_fs_ftruncate_fd_len_callback
67496749
[`fs.futimes()`]: #fs_fs_futimes_fd_atime_mtime_callback

doc/api/process.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3701,7 +3701,7 @@ cases:
37013701
[`process.hrtime()`]: #process_process_hrtime_time
37023702
[`process.hrtime.bigint()`]: #process_process_hrtime_bigint
37033703
[`process.kill()`]: #process_process_kill_pid_signal
3704-
[`process.setUncaughtExceptionCaptureCallback()`]: process.md#process_process_setuncaughtexceptioncapturecallback_fn
3704+
[`process.setUncaughtExceptionCaptureCallback()`]: #process_process_setuncaughtexceptioncapturecallback_fn
37053705
[`promise.catch()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch
37063706
[`queueMicrotask()`]: globals.md#globals_queuemicrotask_callback
37073707
[`readable.read()`]: stream.md#stream_readable_read_size
@@ -3711,7 +3711,7 @@ cases:
37113711
[`v8.setFlagsFromString()`]: v8.md#v8_v8_setflagsfromstring_flags
37123712
[debugger]: debugger.md
37133713
[deprecation code]: deprecations.md
3714-
[note on process I/O]: process.md#process_a_note_on_process_i_o
3714+
[note on process I/O]: #process_a_note_on_process_i_o
37153715
[process.cpuUsage]: #process_process_cpuusage_previousvalue
37163716
[process_emit_warning]: #process_process_emitwarning_warning_type_code_ctor
37173717
[process_warning]: #process_event_warning

doc/api/readline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -973,8 +973,8 @@ const { createInterface } = require('readline');
973973
[TTY]: tty.md
974974
[TTY keybindings]: #readline_tty_keybindings
975975
[Writable]: stream.md#stream_writable_streams
976-
[`'SIGCONT'`]: readline.md#readline_event_sigcont
977-
[`'SIGTSTP'`]: readline.md#readline_event_sigtstp
976+
[`'SIGCONT'`]: #readline_event_sigcont
977+
[`'SIGTSTP'`]: #readline_event_sigtstp
978978
[`'line'`]: #readline_event_line
979979
[`fs.ReadStream`]: fs.md#fs_class_fs_readstream
980980
[`process.stdin`]: process.md#process_process_stdin

doc/api/timers.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -472,12 +472,12 @@ const interval = 100;
472472
[Event Loop]: https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout
473473
[`AbortController`]: globals.md#globals_class_abortcontroller
474474
[`TypeError`]: errors.md#errors_class_typeerror
475-
[`clearImmediate()`]: timers.md#timers_clearimmediate_immediate
476-
[`clearInterval()`]: timers.md#timers_clearinterval_timeout
477-
[`clearTimeout()`]: timers.md#timers_cleartimeout_timeout
478-
[`setImmediate()`]: timers.md#timers_setimmediate_callback_args
479-
[`setInterval()`]: timers.md#timers_setinterval_callback_delay_args
480-
[`setTimeout()`]: timers.md#timers_settimeout_callback_delay_args
475+
[`clearImmediate()`]: #timers_clearimmediate_immediate
476+
[`clearInterval()`]: #timers_clearinterval_timeout
477+
[`clearTimeout()`]: #timers_cleartimeout_timeout
478+
[`setImmediate()`]: #timers_setimmediate_callback_args
479+
[`setInterval()`]: #timers_setinterval_callback_delay_args
480+
[`setTimeout()`]: #timers_settimeout_callback_delay_args
481481
[`util.promisify()`]: util.md#util_util_promisify_original
482482
[`worker_threads`]: worker_threads.md
483-
[primitive]: timers.md#timers_timeout_symbol_toprimitive
483+
[primitive]: #timers_timeout_symbol_toprimitive

doc/api/tty.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ added: v0.7.7
211211

212212
* Returns: {number[]}
213213

214-
`writeStream.getWindowSize()` returns the size of the [TTY](tty.md)
214+
`writeStream.getWindowSize()` returns the size of the TTY
215215
corresponding to this `WriteStream`. The array is of the type
216216
`[numColumns, numRows]` where `numColumns` and `numRows` represent the number
217-
of columns and rows in the corresponding [TTY](tty.md).
217+
of columns and rows in the corresponding TTY.
218218

219219
### `writeStream.hasColors([count][, env])`
220220
<!-- YAML

0 commit comments

Comments
 (0)