Skip to content

Commit 1fadb2e

Browse files
vsemozhetbytMylesBorins
authored andcommitted
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. Backport-PR-URL: #19183 PR-URL: #19004 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
1 parent 3e8e152 commit 1fadb2e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/api/os.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ Equivalent to [`process.platform`][].
322322

323323
*Note*: The value `'android'` may also be returned if the Node.js is built on
324324
the 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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1451,7 +1451,7 @@ console.log(`This platform is ${process.platform}`);
14511451

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

14561456
## process.ppid
14571457
<!-- YAML
@@ -2009,6 +2009,7 @@ cases:
20092009
[`require.resolve()`]: modules.html#modules_require_resolve_request_options
20102010
[`setTimeout(fn, 0)`]: timers.html#timers_settimeout_callback_delay_args
20112011
[`v8.setFlagsFromString()`]: v8.html#v8_v8_setflagsfromstring_flags
2012+
[Android building]: https://github.com/nodejs/node/blob/master/BUILDING.md#androidandroid-based-devices-eg-firefox-os
20122013
[Child Process]: child_process.html
20132014
[Cluster]: cluster.html
20142015
[debugger]: debugger.html
@@ -2020,6 +2021,5 @@ cases:
20202021
[Readable]: stream.html#stream_readable_streams
20212022
[Signal Events]: #process_signal_events
20222023
[Stream compatibility]: stream.html#stream_compatibility_with_older_node_js_versions
2023-
[Supported platforms]: https://github.com/nodejs/node/blob/master/BUILDING.md#supported-platforms-1
20242024
[TTY]: tty.html#tty_tty
20252025
[Writable]: stream.html#stream_writable_streams

0 commit comments

Comments
 (0)