Skip to content

Commit aec2744

Browse files
aduh95targos
authored andcommitted
doc: remove file name from self-reference links
Refs: nodejs/remark-preset-lint-node#188 PR-URL: #39165 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Harshitha K P <[email protected]>
1 parent ac05a0a commit aec2744

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

Diff for: doc/api/fs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6720,7 +6720,7 @@ the file contents.
67206720
[`fs.copyFile()`]: #fs_fs_copyfile_src_dest_mode_callback
67216721
[`fs.createReadStream()`]: #fs_fs_createreadstream_path_options
67226722
[`fs.createWriteStream()`]: #fs_fs_createwritestream_path_options
6723-
[`fs.exists()`]: fs.md#fs_fs_exists_path_callback
6723+
[`fs.exists()`]: #fs_fs_exists_path_callback
67246724
[`fs.fstat()`]: #fs_fs_fstat_fd_options_callback
67256725
[`fs.ftruncate()`]: #fs_fs_ftruncate_fd_len_callback
67266726
[`fs.futimes()`]: #fs_fs_futimes_fd_atime_mtime_callback

Diff for: doc/api/process.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3700,7 +3700,7 @@ cases:
37003700
[`process.hrtime()`]: #process_process_hrtime_time
37013701
[`process.hrtime.bigint()`]: #process_process_hrtime_bigint
37023702
[`process.kill()`]: #process_process_kill_pid_signal
3703-
[`process.setUncaughtExceptionCaptureCallback()`]: process.md#process_process_setuncaughtexceptioncapturecallback_fn
3703+
[`process.setUncaughtExceptionCaptureCallback()`]: #process_process_setuncaughtexceptioncapturecallback_fn
37043704
[`promise.catch()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch
37053705
[`queueMicrotask()`]: globals.md#globals_queuemicrotask_callback
37063706
[`readable.read()`]: stream.md#stream_readable_read_size
@@ -3710,7 +3710,7 @@ cases:
37103710
[`v8.setFlagsFromString()`]: v8.md#v8_v8_setflagsfromstring_flags
37113711
[debugger]: debugger.md
37123712
[deprecation code]: deprecations.md
3713-
[note on process I/O]: process.md#process_a_note_on_process_i_o
3713+
[note on process I/O]: #process_a_note_on_process_i_o
37143714
[process.cpuUsage]: #process_process_cpuusage_previousvalue
37153715
[process_emit_warning]: #process_process_emitwarning_warning_type_code_ctor
37163716
[process_warning]: #process_event_warning

Diff for: doc/api/readline.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -971,8 +971,8 @@ const { createInterface } = require('readline');
971971
[TTY]: tty.md
972972
[TTY keybindings]: #readline_tty_keybindings
973973
[Writable]: stream.md#stream_writable_streams
974-
[`'SIGCONT'`]: readline.md#readline_event_sigcont
975-
[`'SIGTSTP'`]: readline.md#readline_event_sigtstp
974+
[`'SIGCONT'`]: #readline_event_sigcont
975+
[`'SIGTSTP'`]: #readline_event_sigtstp
976976
[`'line'`]: #readline_event_line
977977
[`fs.ReadStream`]: fs.md#fs_class_fs_readstream
978978
[`process.stdin`]: process.md#process_process_stdin

Diff for: doc/api/timers.md

+7-7
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

Diff for: doc/api/tty.md

+2-2
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)