Skip to content

doc: minor clarification in modules api doc.#1983

Merged
ChALkeR merged 1 commit into
nodejs:masterfrom
ChALkeR:modules-doc
Jun 16, 2015
Merged

doc: minor clarification in modules api doc.#1983
ChALkeR merged 1 commit into
nodejs:masterfrom
ChALkeR:modules-doc

Conversation

@ChALkeR
Copy link
Copy Markdown
Member

@ChALkeR ChALkeR commented Jun 15, 2015

This one is trivial. I noticed it while reading the modules API documentation.

@ChALkeR ChALkeR added the doc Issues and PRs related to the documentations. label Jun 15, 2015
@Fishrock123
Copy link
Copy Markdown
Contributor

Mostly LGTM, but the proper language might be "relative path (i.e. /, ./, ../, etc)", since .. and . do also work.

Comment thread doc/api/modules.markdown Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated-but-nearby nit: If you're feeling like it, "core module" in the next line should really just be core module without any quotation marks.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@ChALkeR
Copy link
Copy Markdown
Member Author

ChALkeR commented Jun 15, 2015

@Fishrock123 foo/bar might also be a relative path, but that's not relevant. It needs a better description then, possibly listing all corner cases.

But documenting .. and . requires changes in many places all over the modules API doc. Is that needed? Examples: modules.markdown#all-together, modules.markdown#loading-from-node_modules-folders

The purpose of this is to make the documentation at least consistent.

@Fishrock123
Copy link
Copy Markdown
Contributor

Yeah. LGTM.

@trevnorris
Copy link
Copy Markdown
Contributor

LGTM

PR-URL: nodejs#1983
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations.

4 participants