Skip to content

doc: improvements to fs.markdown copy - #4486

Closed
jasnell wants to merge 1 commit into
nodejs:masterfrom
jasnell:doc-fs-improvements
Closed

doc: improvements to fs.markdown copy#4486
jasnell wants to merge 1 commit into
nodejs:masterfrom
jasnell:doc-fs-improvements

Conversation

@jasnell

Copy link
Copy Markdown
Member

A major reworking of the fs.markdown structure and text.
Moved things around so that they are organized by function,
included additional information so there is less of dependency
on knowledge of the POSIX API.

Other changes:

This one will be difficult to review, and I apologize for that. @nodejs/documentation @bnoordhuis

A major reworking of the fs.markdown structure and text.
Moved things around so that they are organized by function,
included additional information so there is less of dependency
on knowledge of the POSIX API.
Other changes:
* Documents `.path` on `fs.ReadStream` and `fs.WriteStream` per
nodejs#4368
* Include coverage of the file system encoding issue
* Example enhancements throughout
@jasnelljasnell added doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system. lts-watch-v4.x and removed lts-watch-v4.x labels Dec 30, 2015
@chrisdickinson

Copy link
Copy Markdown
Contributor

Hm, it looks like GH is suppressing the diff, which may make it hard to leave comments.

@chrisdickinson

Copy link
Copy Markdown
Contributor

One note I have off the bat is that the error handling bit at the top might be best handled with a link to the appropriate section of the error handling doc.

@chrisdickinson

Copy link
Copy Markdown
Contributor

This kind of straddles the line between a topic document and a reference document — ideally we'd split this into a "fs" topic doc and a "fs" reference doc, and crosslink between the ref doc and the topic doc. This way we can address questions like "what is a file descriptor and why would I want to manipulate it?" in the topic doc while providing a concise guide for folks who just want to know how to manipulate fds in Node (and, at a broader level, another topic document can address "how do I avoid race conditions" so that this reference doc doesn't have to.)

Taking on the structural changes necessary is somewhat blocked by getting a resolution on #4244, though.

@sam-github

Copy link
Copy Markdown
Contributor

@jasnell Is there any way of breaking this up into a couple PRs? I'd like to review, but github won't allow, too many changes.

@chrisdickinson

Copy link
Copy Markdown
Contributor

A thought: could we open a PR to the nodejs/docs repo containing just this file as a single new addition, and do the editing there?

@jasnell

Copy link
Copy Markdown
MemberAuthor

That could work. This one is a beast
On Jan 30, 2016 12:30 AM, "Chris Dickinson" notifications@github.com
wrote:

A thought: could we open a PR to the nodejs/docs repo containing just
this file as a single new addition, and do the editing there?


Reply to this email directly or view it on GitHub
#4486 (comment).

@estliberitas
estliberitasforce-pushed the master branch 2 times, most recently from 7da4fd4 to c7066fbCompareApril 26, 2016 05:22
@jasnelljasnell closed this May 1, 2016
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docIssues and PRs related to the documentations.fsIssues and PRs related to the fs subsystem / file system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@jasnell@chrisdickinson@sam-github@MylesBorins