Skip to content

Commit

Permalink
doc: add missing introduced_in comments
Browse files Browse the repository at this point in the history
Add missing "introduced_in" comments for alternative version links.

PR-URL: #16741
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
  • Loading branch information
lpinca authored and MylesBorins committed Dec 11, 2017
1 parent 9b16e15 commit 976ed75
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 4 deletions.
2 changes: 2 additions & 0 deletions doc/api/async_hooks.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Async Hooks

<!--introduced_in=v8.1.0-->

> Stability: 1 - Experimental
The `async_hooks` module provides an API to register callbacks tracking the
Expand Down
2 changes: 2 additions & 0 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Deprecated APIs

<!--introduced_in=v7.7.0-->

Node.js may deprecate APIs when either: (a) use of the API is considered to be
unsafe, (b) an improved alternative API has been made available, or (c)
breaking changes to the API are expected in a future major release.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/esm.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ECMAScript Modules

<!--introduced_in=v9.x.x-->
<!--introduced_in=v8.5.0-->

> Stability: 1 - Experimental
Expand Down
2 changes: 2 additions & 0 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# HTTP2

<!--introduced_in=v8.4.0-->

> Stability: 1 - Experimental
The `http2` module provides an implementation of the [HTTP/2][] protocol. It
Expand Down
2 changes: 2 additions & 0 deletions doc/api/inspector.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Inspector

<!--introduced_in=v8.0.0-->

> Stability: 1 - Experimental
The `inspector` module provides an API for interacting with the V8 inspector.
Expand Down
2 changes: 2 additions & 0 deletions doc/api/intl.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Internationalization Support

<!--introduced_in=v8.2.0-->

Node.js has many features that make it easier to write internationalized
programs. Some of them are:

Expand Down
2 changes: 2 additions & 0 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# N-API

<!--introduced_in=v7.10.0-->

> Stability: 1 - Experimental

N-API (pronounced N as in the letter, followed by API)
Expand Down
5 changes: 2 additions & 3 deletions doc/api/perf_hooks.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Performance Timing API
<!-- YAML
added: v8.5.0
-->

<!--introduced_in=v8.5.0-->

> Stability: 1 - Experimental
Expand Down
2 changes: 2 additions & 0 deletions doc/api/tracing.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Tracing

<!--introduced_in=v7.7.0-->

Trace Event provides a mechanism to centralize tracing information generated by
V8, Node core, and userspace code.

Expand Down

0 comments on commit 976ed75

Please sign in to comment.