-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: documented make docopen
#19321
doc: documented make docopen
#19321
Conversation
Fwiw, you don’t need a webserver to read the docs, just opening the generated HTML files in your browser works. |
@addaleax true, and perhaps I should have been more explicit in the description. But personally as a user, I still prefer the |
@AyushG3112 Yeah, not telling you what to do :) It might be nice to document |
@addaleax oh, I did not know about Should I document it in this PR, because if I do the title of the PR would not be enough? |
@AyushG3112 All of that is completely up to you. :)
You can always change a PR title, and if you use Let us know if you need any help! |
make doconly
@addaleax Changed :) . Could you let me know if any improvement is needed? First time doc-only contribution to Node.JS here |
This seems perfectly fine to me. :) Light CI: https://ci.nodejs.org/job/node-test-pull-request-lite/256/ |
Sorry, I cannot find any Lines 672 to 674 in 52e869b
|
BUILDING.md
Outdated
@@ -206,6 +206,15 @@ To read the documentation: | |||
$ man doc/node.1 | |||
``` | |||
|
|||
If you prefer to read the documentation in the browser, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny optional nit: in the browser
-> in a browser
BUILDING.md
Outdated
$ make docopen | ||
``` | ||
|
||
This will open up a browser tab/window with the documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optional nit: open up a browser tab/window
-> open a browser
BUILDING.md
Outdated
@@ -206,6 +206,15 @@ To read the documentation: | |||
$ man doc/node.1 | |||
``` | |||
|
|||
If you prefer to read the documentation in the browser, | |||
run the following once `make doc` is done: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optional nits: once
-> after
and done
-> finished
@Trott updated. Also, I rebased to master before pushing, which is the reason for increased number of changes. |
@addaleax can this land? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed that comments of @Trott were incorporated and make docopen
works as described.
This PR is good to land.
CI is failing because of merge conflict. @AyushG3112 Please rebase your changes as defined in this documentation https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#step-9-discuss-and-update |
Documented an easier way for users to browse documentation without setting up a whole web environment. It make the process of reading the latest documentation, and comparing it with the documentation of older versions on the Node.JS website a lot easier.
Documented `make doconly` as a way to read documentation in the browser.
Documented an easier way for users to browse documentation without setting up a whole web environment. It make the process of reading the latest documentation, and comparing it with the documentation of older versions on the Node.JS website a lot easier.
Documented `make doconly` as a way to read documentation in the browser.
2afa7b1
to
f6a70dc
Compare
@trivikr Rebased. |
Rerun of CI-lite was successful https://ci.nodejs.org/job/node-test-pull-request-lite/338/ |
Landed in 0d5720b |
Documented `make docopen` as a way to read documentation in the browser. PR-URL: #19321 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Documented `make docopen` as a way to read documentation in the browser. PR-URL: #19321 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Documented `make docopen` as a way to read documentation in the browser. PR-URL: #19321 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Documented
make docopen
as a way to read documentation in the browser.Checklist