Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: remove file name from self-reference links #39165

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -6744,7 +6744,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
Expand Down
4 changes: 2 additions & 2 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -3701,7 +3701,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
Expand All @@ -3711,7 +3711,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
Expand Down
4 changes: 2 additions & 2 deletions doc/api/readline.md
Original file line number Diff line number Diff line change
Expand Up @@ -973,8 +973,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
Expand Down
14 changes: 7 additions & 7 deletions doc/api/timers.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,12 +472,12 @@ const interval = 100;
[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
4 changes: 2 additions & 2 deletions doc/api/tty.md
Original file line number Diff line number Diff line change
Expand Up @@ -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](#)
aduh95 marked this conversation as resolved.
Show resolved Hide resolved
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](#).
aduh95 marked this conversation as resolved.
Show resolved Hide resolved

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