Skip to content

doc: fix nits in doc/api_assets/style.css - #20601

Closed
vsemozhetbyt wants to merge 1 commit into
nodejs:masterfrom
vsemozhetbyt:doc-style.css
Closed

doc: fix nits in doc/api_assets/style.css#20601
vsemozhetbyt wants to merge 1 commit into
nodejs:masterfrom
vsemozhetbyt:doc-style.css

Conversation

@vsemozhetbyt

@vsemozhetbyt vsemozhetbyt commented May 8, 2018

Copy link
Copy Markdown
Contributor
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
  1. Merge rule sets for identical selectors.

  2. Delete impossible selector block: we have only stability indexes 0, 1, and 2, so there can't be .api_stability_3 class. Refs: documentation.html#documentation_stability_index

I suspect we have some other outdated unused selectors in this file, but I've ventured to change only these safe cases as I am not very aware of frontend things. Maybe this can be a small task for code-and-learn with frontend folks? Say, all selectors may be checked against https://nodejs.org/api/all.html (or its last nightly variant) with document.querySelectorAll('selector') in DevTools.

1. Merge rule sets for identical selectors.

2. Delete impossible selector block: we have only stability indexes
   0, 1, and 2, so there can't be `.api_stability_3` class.
   Refs: nodejs.org/api/documentation.html#documentation_stability_index
@vsemozhetbyt vsemozhetbyt added the fast-track PRs proposed for a shorter-than-standard waiting period before landing. label May 8, 2018
@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to Node.js documentation. label May 8, 2018
@vsemozhetbyt

Copy link
Copy Markdown
Contributor Author

Node.js Collaborators, please, add 👍 here if you approve fast-tracking.

@vsemozhetbyt

Copy link
Copy Markdown
Contributor Author

CI-lite: https://ci.nodejs.org/job/node-test-pull-request-lite/687/ (just in case)

@vsemozhetbyt vsemozhetbyt added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label May 8, 2018
@vsemozhetbyt

Copy link
Copy Markdown
Contributor Author

Landed in 8d3131b
Thank you for the reviews.

@vsemozhetbyt
vsemozhetbyt deleted the doc-style.css branch May 10, 2018 15:23
vsemozhetbyt added a commit that referenced this pull request May 10, 2018
1. Merge rule sets for identical selectors.

2. Delete impossible selector block: we have only stability indexes
   0, 1, and 2, so there can't be `.api_stability_3` class.
   Refs: nodejs.org/api/documentation.html#documentation_stability_index

PR-URL: #20601
Refs: https://nodejs.org/api/documentation.html#documentation_stability_index
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
targos pushed a commit that referenced this pull request May 12, 2018
1. Merge rule sets for identical selectors.

2. Delete impossible selector block: we have only stability indexes
   0, 1, and 2, so there can't be `.api_stability_3` class.
   Refs: nodejs.org/api/documentation.html#documentation_stability_index

PR-URL: #20601
Refs: https://nodejs.org/api/documentation.html#documentation_stability_index
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
@addaleax addaleax mentioned this pull request May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. doc Issues and PRs related to Node.js documentation. fast-track PRs proposed for a shorter-than-standard waiting period before landing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants