Skip to content

Commit fcebb16

Browse files
committed
doc: fix/add link to Android info
We have two notes in API docs about Android support: the first has no links, the second links to the table of supported OSs where Android is not mentioned which may be confusing. This PR makes both notes link to dedicated Android part of BUILDING.md. PR-URL: #19004 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]>
1 parent 646e67e commit fcebb16

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/api/os.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ Equivalent to [`process.platform`][].
322322

323323
The value `'android'` may also be returned if the Node.js is built on the
324324
Android operating system. However, Android support in Node.js is considered
325-
to be experimental at this time.
325+
[to be experimental][Android building] at this time.
326326

327327
## os.release()
328328
<!-- YAML
@@ -1220,4 +1220,5 @@ information.
12201220

12211221
[`process.arch`]: process.html#process_process_arch
12221222
[`process.platform`]: process.html#process_process_platform
1223+
[Android building]: https://github.com/nodejs/node/blob/master/BUILDING.md#androidandroid-based-devices-eg-firefox-os
12231224
[uname(3)]: https://linux.die.net/man/3/uname

doc/api/process.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ console.log(`This platform is ${process.platform}`);
14501450

14511451
The value `'android'` may also be returned if the Node.js is built on the
14521452
Android operating system. However, Android support in Node.js
1453-
[is experimental][Supported platforms].
1453+
[is experimental][Android building].
14541454

14551455
## process.ppid
14561456
<!-- YAML
@@ -2007,6 +2007,7 @@ cases:
20072007
[`require.resolve()`]: modules.html#modules_require_resolve_request_options
20082008
[`setTimeout(fn, 0)`]: timers.html#timers_settimeout_callback_delay_args
20092009
[`v8.setFlagsFromString()`]: v8.html#v8_v8_setflagsfromstring_flags
2010+
[Android building]: https://github.com/nodejs/node/blob/master/BUILDING.md#androidandroid-based-devices-eg-firefox-os
20102011
[Child Process]: child_process.html
20112012
[Cluster]: cluster.html
20122013
[debugger]: debugger.html
@@ -2018,6 +2019,5 @@ cases:
20182019
[Readable]: stream.html#stream_readable_streams
20192020
[Signal Events]: #process_signal_events
20202021
[Stream compatibility]: stream.html#stream_compatibility_with_older_node_js_versions
2021-
[Supported platforms]: https://github.com/nodejs/node/blob/master/BUILDING.md#supported-platforms-1
20222022
[TTY]: tty.html#tty_tty
20232023
[Writable]: stream.html#stream_writable_streams

0 commit comments

Comments
 (0)