Skip to content

Commit

Permalink
doc: refactor fs docs structure
Browse files Browse the repository at this point in the history
* Convert examples to esm to help promote that pattern with users
* Make Promises APIs more prominent to help promite that pattern
* Separate callback/sync apis into distinct sections to make those
  more consistent with the Promises api
* Improve other bits and pieces

Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #37170
Backport-PR-URL: #39706
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
  • Loading branch information
targos committed Sep 1, 2021
1 parent 327838d commit 307c1d8
Show file tree
Hide file tree
Showing 2 changed files with 3,246 additions and 2,917 deletions.
3 changes: 3 additions & 0 deletions doc/api/dgram.md
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,9 @@ chained.
<!-- YAML
added: v0.11.13
changes:
- version: v14.17.0
pr-url: https://github.com/nodejs/node/pull/37026
description: AbortSignal support was added.
- version: v11.4.0
pr-url: https://github.com/nodejs/node/pull/23798
description: The `ipv6Only` option is supported.
Expand Down
Loading

0 comments on commit 307c1d8

Please sign in to comment.