Skip to content

Commit e8355c4

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 6fdac38 commit e8355c4

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

doc/api/fs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6662,7 +6662,7 @@ the file contents.
66626662
[`fs.copyFile()`]: #fs_fs_copyfile_src_dest_mode_callback
66636663
[`fs.createReadStream()`]: #fs_fs_createreadstream_path_options
66646664
[`fs.createWriteStream()`]: #fs_fs_createwritestream_path_options
6665-
[`fs.exists()`]: fs.md#fs_fs_exists_path_callback
6665+
[`fs.exists()`]: #fs_fs_exists_path_callback
66666666
[`fs.fstat()`]: #fs_fs_fstat_fd_options_callback
66676667
[`fs.ftruncate()`]: #fs_fs_ftruncate_fd_len_callback
66686668
[`fs.futimes()`]: #fs_fs_futimes_fd_atime_mtime_callback

doc/api/process.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2763,7 +2763,7 @@ cases:
27632763
[`process.hrtime()`]: #process_process_hrtime_time
27642764
[`process.hrtime.bigint()`]: #process_process_hrtime_bigint
27652765
[`process.kill()`]: #process_process_kill_pid_signal
2766-
[`process.setUncaughtExceptionCaptureCallback()`]: process.md#process_process_setuncaughtexceptioncapturecallback_fn
2766+
[`process.setUncaughtExceptionCaptureCallback()`]: #process_process_setuncaughtexceptioncapturecallback_fn
27672767
[`promise.catch()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch
27682768
[`queueMicrotask()`]: globals.md#globals_queuemicrotask_callback
27692769
[`readable.read()`]: stream.md#stream_readable_read_size
@@ -2773,7 +2773,7 @@ cases:
27732773
[`v8.setFlagsFromString()`]: v8.md#v8_v8_setflagsfromstring_flags
27742774
[debugger]: debugger.md
27752775
[deprecation code]: deprecations.md
2776-
[note on process I/O]: process.md#process_a_note_on_process_i_o
2776+
[note on process I/O]: #process_a_note_on_process_i_o
27772777
[process.cpuUsage]: #process_process_cpuusage_previousvalue
27782778
[process_emit_warning]: #process_process_emitwarning_warning_type_code_ctor
27792779
[process_warning]: #process_event_warning

doc/api/readline.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -923,8 +923,8 @@ const { createInterface } = require('readline');
923923
[TTY]: tty.md
924924
[TTY keybindings]: #readline_tty_keybindings
925925
[Writable]: stream.md#stream_writable_streams
926-
[`'SIGCONT'`]: readline.md#readline_event_sigcont
927-
[`'SIGTSTP'`]: readline.md#readline_event_sigtstp
926+
[`'SIGCONT'`]: #readline_event_sigcont
927+
[`'SIGTSTP'`]: #readline_event_sigtstp
928928
[`'line'`]: #readline_event_line
929929
[`fs.ReadStream`]: fs.md#fs_class_fs_readstream
930930
[`process.stdin`]: process.md#process_process_stdin

doc/api/timers.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,12 @@ Cancels a `Timeout` object created by [`setTimeout()`][].
323323
[Event Loop]: https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout
324324
[`AbortController`]: globals.md#globals_class_abortcontroller
325325
[`TypeError`]: errors.md#errors_class_typeerror
326-
[`clearImmediate()`]: timers.md#timers_clearimmediate_immediate
327-
[`clearInterval()`]: timers.md#timers_clearinterval_timeout
328-
[`clearTimeout()`]: timers.md#timers_cleartimeout_timeout
329-
[`setImmediate()`]: timers.md#timers_setimmediate_callback_args
330-
[`setInterval()`]: timers.md#timers_setinterval_callback_delay_args
331-
[`setTimeout()`]: timers.md#timers_settimeout_callback_delay_args
326+
[`clearImmediate()`]: #timers_clearimmediate_immediate
327+
[`clearInterval()`]: #timers_clearinterval_timeout
328+
[`clearTimeout()`]: #timers_cleartimeout_timeout
329+
[`setImmediate()`]: #timers_setimmediate_callback_args
330+
[`setInterval()`]: #timers_setinterval_callback_delay_args
331+
[`setTimeout()`]: #timers_settimeout_callback_delay_args
332332
[`util.promisify()`]: util.md#util_util_promisify_original
333333
[`worker_threads`]: worker_threads.md
334-
[primitive]: timers.md#timers_timeout_symbol_toprimitive
334+
[primitive]: #timers_timeout_symbol_toprimitive

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)