Skip to content

Commit

Permalink
doc: remove file name from self-reference links
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
aduh95 authored and targos committed Jul 11, 2021
1 parent ac05a0a commit aec2744
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -6720,7 +6720,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 @@ -3700,7 +3700,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 @@ -3710,7 +3710,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 @@ -971,8 +971,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
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
Expand Down

0 comments on commit aec2744

Please sign in to comment.