Skip to content
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: revise Style Guide #26176

Closed
wants to merge 1 commit into from
Closed

Conversation

Trott
Copy link
Member

@Trott Trott commented Feb 18, 2019

Most important change here is to point people to the YAML material in
the docs rather than the previous way we indicated versions that
introduced or deprecated APIs.

Otherwise, a bunch of stylistic changes, mostly to keep things concise
and direct.

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

@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to the documentations. label Feb 18, 2019
Copy link
Member

@richardlau richardlau left a comment

Choose a reason for hiding this comment

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

Left some comments, neither of them are blocking.

doc/STYLE_GUIDE.md Outdated Show resolved Hide resolved
* When using dashes, use [Em dashes][] ("—" or `Option+Shift+"-"` on macOS)
surrounded by spaces, as per [The New York Times Manual of Style and Usage][].
* When documenting APIs, update the YAML comment associated with the API as
appropriate. This is especially true when introducing or deprecating an API.
Copy link
Member

Choose a reason for hiding this comment

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

AFAIK we have no documentation on the YAML comments, so it's guesswork based on the existing YAML comments as to what should go in there when introducing a new API. Kind of falls under the general: #25548

Copy link
Member Author

Choose a reason for hiding this comment

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

I suppose at least this is an improvement because it actually mentions the YAML comments.

Most important change here is to point people to the YAML material in
the docs rather than the previous way we indicated versions that
introduced or deprecated APIs.

Remove contents about assets as we do not actually have any in the docs.

Otherwise, a bunch of stylistic changes, mostly to keep things concise
and direct.
@Trott
Copy link
Member Author

Trott commented Feb 18, 2019

@Trott Trott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Feb 18, 2019
@Trott
Copy link
Member Author

Trott commented Feb 20, 2019

Landed in e4a3664

@Trott Trott closed this Feb 20, 2019
Trott added a commit to Trott/io.js that referenced this pull request Feb 20, 2019
Most important change here is to point people to the YAML material in
the docs rather than the previous way we indicated versions that
introduced or deprecated APIs.

Remove contents about assets as we do not actually have any in the docs.

Otherwise, a bunch of stylistic changes, mostly to keep things concise
and direct.

PR-URL: nodejs#26176
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
addaleax pushed a commit that referenced this pull request Feb 21, 2019
Most important change here is to point people to the YAML material in
the docs rather than the previous way we indicated versions that
introduced or deprecated APIs.

Remove contents about assets as we do not actually have any in the docs.

Otherwise, a bunch of stylistic changes, mostly to keep things concise
and direct.

PR-URL: #26176
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
@BridgeAR BridgeAR mentioned this pull request Feb 26, 2019
rvagg pushed a commit that referenced this pull request Feb 28, 2019
Most important change here is to point people to the YAML material in
the docs rather than the previous way we indicated versions that
introduced or deprecated APIs.

Remove contents about assets as we do not actually have any in the docs.

Otherwise, a bunch of stylistic changes, mostly to keep things concise
and direct.

PR-URL: #26176
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
@Trott Trott deleted the style-guide-revisions branch January 13, 2022 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. doc Issues and PRs related to the documentations.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants