-
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: add detail on how api docs are published #45626
Conversation
Add some details that Richard shared with me on how the docs are published to the website. Signed-off-by: Michael Dawson <[email protected]>
Review requested:
|
@ovflowd FYI some additional info on how the api docs make it on to nodejs.org. |
<!-- TODO: Add docs about how the publishing process happens --> | ||
The artifacts are built as part of release builds by running the doc-upload | ||
Makefile target as part of the release-sources part of the | ||
[iojs+release job](https://github.com/nodejs/node/blob/1a83ad6a693f851199608ae957ac5d4f76871485/Makefile#L1218-L1224). |
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.
Can we reference HEAD here?
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.
Not without losing the highlighting (the line numbers are specific to that revision of the makefile).
Makefile target as part of the release-sources part of the | ||
[iojs+release job](https://github.com/nodejs/node/blob/1a83ad6a693f851199608ae957ac5d4f76871485/Makefile#L1218-L1224). | ||
This target runs the doc target to build the docs and then uses | ||
scp to copy them onto the staging/www server into a directory of the form |
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.
Do we need to go that deep into the specifics here? Isn't that visible by reading the Makefile?
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.
I think the few lines are worth avoiding people having to click into the link.
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.
Thanks for update here, @mhdawson 🙇
[iojs+release job](https://github.com/nodejs/node/blob/1a83ad6a693f851199608ae957ac5d4f76871485/Makefile#L1218-L1224). | ||
This target runs the doc target to build the docs and then uses | ||
scp to copy them onto the staging/www server into a directory of the form | ||
`/home/staging/nodejs/<type>/<full_version>/docs` where <type> is e.g. |
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.
I'm undecided whether the details of where the files are on the server are useful here or not as it's only useful to people with root access to the server (e.g. the build-infra team).
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.
That's kinda what I meant, this kind of text feels like it should belong on nodejs/build
?
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.
I don't think we have this documented anywhere else and I don't think it's too much of a distraction so the value of having it documented somewhere easy to find is worth it.
Co-authored-by: Luigi Pinca <[email protected]>
Co-authored-by: Luigi Pinca <[email protected]>
Co-authored-by: Richard Lau <[email protected]>
Co-authored-by: Luigi Pinca <[email protected]>
Co-authored-by: Richard Lau <[email protected]>
Add some details that Richard shared with me on how the docs are published to the website. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #45626 Reviewed-By: Luigi Pinca <[email protected]>
Landed in e42425b |
Add some details that Richard shared with me on how the docs are published to the website. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #45626 Reviewed-By: Luigi Pinca <[email protected]>
Add some details that Richard shared with me on how the docs are published to the website. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #45626 Reviewed-By: Luigi Pinca <[email protected]>
Add some details that Richard shared with me on how the docs are published to the website. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #45626 Reviewed-By: Luigi Pinca <[email protected]>
Add some details that Richard shared with me on how the docs are published to the website. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #45626 Reviewed-By: Luigi Pinca <[email protected]>
Add some details that Richard shared with me on how the docs are published to the website. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #45626 Reviewed-By: Luigi Pinca <[email protected]>
Add some details that Richard shared with me on how the docs are published to the website. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #45626 Reviewed-By: Luigi Pinca <[email protected]>
Add some details that Richard shared with me on
how the docs are published to the website.
Signed-off-by: Michael Dawson [email protected]