Skip to content

Conversation

@nojvek
Copy link

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

documentation

@nodejs-github-botnodejs-github-bot added cli Issues and PRs related to the Node.js command line interface. doc Issues and PRs related to the documentations. labels Mar 2, 2017
@nojvek
Copy link
Author

Context in: #7086

@nojvek
Copy link
Author

@joshgav@jasnell

@sam-github
Copy link
Contributor

needs changing in https://github.com/nodejs/node/blob/master/doc/node.1, too

@nojvek
Copy link
Author

is node.1 for man pages?

@sam-github
Copy link
Contributor

sam-github commented Mar 2, 2017 via email

@nojvek
Copy link
Author

Fixed.

doc/api/cli.md Outdated
Copy link
Member

Choose a reason for hiding this comment

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

Do reference-style links work if they are linked in another file?

[Chrome Debugging Protocol]: https://chromedevtools.github.io/debugger-protocol-viewer/ is defined in debugger.md.

Copy link
Member

Choose a reason for hiding this comment

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

small, nit... this could be reworded as:

V8 Inspector integration uses the [Chrome Debugging Protocol]{} to attach Node.js instances to debugging and profile tools such as Chrome DevTools and various IDEs. 

@nojvek
Copy link
Author

nojvek commented Mar 9, 2017 via email

@fhinkel
Copy link
Member

make doc generates the docs, I think the html files end up in out/doc/api/. Do you want to check if we need to define
[Chrome Debugging Protocol]: https://chromedevtools.github.io/debugger-protocol-viewer/
in the file where you're using [Chrome Debugging Protocol]?

@nojvek
Copy link
Author

nojvek commented Mar 9, 2017 via email

@fhinkel
Copy link
Member

fhinkel commented Mar 9, 2017

Sorry if I wasn't clear. debugger.md uses and defines a link to the debugging protocol. If we're using a reference-style link, we need to define it in the file where we use it. We can just copy this definition to the end of cli.md.

Could you also fix-up your commit messages according to this guide please.

@nojvek
Copy link
Author

nojvek commented Mar 9, 2017 via email

doc/api/cli.md Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

I think --inspect was initially added in 6.3.0. It might have changed slightly since then, but luckily we have per item changelogs now.

doc/api/cli.md Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this was introduced in 7.6.0.

@nojvek
Copy link
Author

nojvek commented Mar 13, 2017 via email

@nojvek
Copy link
Author

@cjihrig Thanks for the version number verification. I wasn't quite 100% sure how to do that.

I have updated the PR with your changes. Looks great, the links work. Would love to see this merged.

image

@nojvek
Copy link
Author

nojvek commented Mar 14, 2017 via email

doc/api/cli.md Outdated
Copy link
Member

Choose a reason for hiding this comment

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

small, nit... this could be reworded as:

V8 Inspector integration uses the [Chrome Debugging Protocol]{} to attach Node.js instances to debugging and profile tools such as Chrome DevTools and various IDEs. 

@cjihrig
Copy link
Contributor

@nojvek any committer can land the PR. It should be good after @jasnell's nit is addressed. @fhinkel are you ok with it?

@nojvek
Copy link
Author

nojvek commented Mar 14, 2017 via email

doc/api/cli.md Outdated
Copy link
Member

Choose a reason for hiding this comment

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

small nit here... need to line wrap a max 80 chars

@nojvek
Copy link
Author

nojvek commented Mar 15, 2017 via email

Adding documentation to node.1 and cli.md
@nojvek
Copy link
Author

nojvek commented Mar 16, 2017 via email

jasnell pushed a commit that referenced this pull request Mar 17, 2017
Adding documentation to node.1 and cli.md PR-URL: #11660 Reviewed-By: Eugene Ostroukhov <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
@jasnell
Copy link
Member

Landed in 38299d2

@jasnelljasnell closed this Mar 17, 2017
@nojvek
Copy link
Author

nojvek commented Mar 17, 2017 via email

@nojveknojvek deleted the cli-params-doc branch March 17, 2017 17:51
@joshgav
Copy link
Contributor

Thanks @nojvek!

jungx098 pushed a commit to jungx098/node that referenced this pull request Mar 21, 2017
Adding documentation to node.1 and cli.md PR-URL: nodejs#11660 Reviewed-By: Eugene Ostroukhov <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
italoacasas pushed a commit to italoacasas/node that referenced this pull request Mar 21, 2017
Adding documentation to node.1 and cli.md PR-URL: nodejs#11660 Reviewed-By: Eugene Ostroukhov <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
@italoacasasitaloacasas mentioned this pull request Mar 21, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cliIssues and PRs related to the Node.js command line interface.docIssues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@nojvek@sam-github@fhinkel@cjihrig@jasnell@joshgav@eugeneo@MylesBorins@nodejs-github-bot