doc: add detail on how api docs are published#45626
doc: add detail on how api docs are published#45626mhdawson wants to merge 7 commits intonodejs:mainfrom
Conversation
Add some details that Richard shared with me on how the docs are published to the website. Signed-off-by: Michael Dawson <mdawson@devrus.com>
|
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.
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.
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.
I think the few lines are worth avoiding people having to click into the link.
| [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.
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.
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.
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 <luigipinca@gmail.com>
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
Co-authored-by: Richard Lau <rlau@redhat.com>
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
Co-authored-by: Richard Lau <rlau@redhat.com>
Add some details that Richard shared with me on how the docs are published to the website. Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #45626 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
|
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 <mdawson@devrus.com> PR-URL: #45626 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Add some details that Richard shared with me on how the docs are published to the website. Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #45626 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Add some details that Richard shared with me on how the docs are published to the website. Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #45626 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Add some details that Richard shared with me on how the docs are published to the website. Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #45626 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Add some details that Richard shared with me on how the docs are published to the website. Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #45626 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Add some details that Richard shared with me on how the docs are published to the website. Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #45626 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Add some details that Richard shared with me on
how the docs are published to the website.
Signed-off-by: Michael Dawson mdawson@devrus.com