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

[pull] master from octokit:master #164

Open
wants to merge 512 commits into
base: master
Choose a base branch
from
Open

Conversation

pull[bot]
Copy link

@pull pull bot commented Sep 20, 2019

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Sep 20, 2019
@pull pull bot added the merge-conflict Resolve conflicts manually label Feb 19, 2020
gr2m and others added 28 commits March 25, 2020 12:15
)

Before

```js
const options = octokit.issues.listForRepo.endpoint.merge({
  owner: "octokit",
  repo: "rest.js",
});
const issues = await octokit.paginate(options);
```

After

```js
const issues = await octokit.paginate(octokit.issues.listForRepo, {
  owner: "octokit",
  repo: "rest.js",
});
```
### fix whitespace on mobile sizing due to wide content

This adds a table-layout: fixed rule for tables on smaller
screen sizes so that the contents don't overflow the container
element, and adds an overflow-wrap rule for long URLs in
code elements.

This also changes the table style in 00_usage.md to use h3 tags
and divs to style the usage snippets so that they don't expand
past the parent container. When using a table with table-layout: fixed,
the table header text would be squashed due to the width of the code
snippet part of the table row.

### dont quote anchor link

The #custom-requests link at the bottom of the custom endpoints
section was wrapped in quotes, which led the browser to load a
different page in search of https://octokit.github.io/rest.js/'#custom-requests'.

Removing the quotes makes it go to the custom-requests id tag on the
current page.
This moves the indexing config for elasticlunr search to only use
MarkdownRemark nodes, since everything is being source as markdown files
from `plugin-rest-endpoint-methods.js`.

Now all of the information that was previously available for search
indexing will be available in the frontmatter of each method's markdown
file.

I tried sourcing this information from the htmlAst and headings fields in the
MarkdownRemark nodes, but it appears that gatsby-transformer-remark
doesn't generate that information until it's queried for the first time,
and the config portion for building the search index happens before
that, so that was unavailable.

Placing it in the frontmatter seemed like a good way to have it
available during the build step without modifying the visible content of
the documentation or figuring out how to force that information to build
earlier and then parse an HTML AST for title and example snippets.
This fixes an issue where each search entry from the
docs/api/**.md files would show up twice in search results.

This is because we're including versions from v17 and v16, but the
search doesn't specify between them. This adds support to filter based
on the currently selected version.

This also includes style fixes to not stretch the version select
dropdown and a table style fix for endpoint methods to not have the
table extend past its container into the snippet example portion of the
page.
…{suspend,unsuspend}Installation`. Deprecates `octokit.actions.listWorkflow{Job,Run}Logs` (#1700)
Bumps [@octokit/core](https://github.com/octokit/core.js) from 2.5.0 to 2.5.2.
- [Release notes](https://github.com/octokit/core.js/releases)
- [Commits](octokit/core.js@v2.5.0...v2.5.2)

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.2.2 to 25.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
renovate bot and others added 8 commits February 10, 2021 12:41
…to v4.10.2 (#2010)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
…`@octokit/plugin-rest-endpoint-methods@4.10.3` / `@octokit/types@6.8.4` / `@octokit/openapi-types@4.0.3` (#2012)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
…Instances}`. Improved parameter and response types for `octokit.codeScanning.*` methods (#2015)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
…t.packages.deletePackageForOrg()`, `octokit.packages.deletePackageVersionForAuthenticatedUser()`, `octokit.packages.deletePackageVersionForOrg()`, `octokit.packages.getAllPackageVersionsForAPackageOwnedByAnOrg()`, `octokit.packages.getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser()`, `octokit.packages.getAllPackageVersionsForPackageOwnedByUser()`, `octokit.packages.getPackageForAuthenticatedUser()`, `octokit.packages.getPackageForOrganization()`, `octokit.packages.getPackageForUser()`, `octokit.packages.getPackageVersionForAuthenticatedUser()`, `octokit.packages.getPackageVersionForOrganization()`, `octokit.packages.getPackageVersionForUser()`, `octokit.packages.restorePackageForAuthenticatedUser()`, `octokit.packages.restorePackageForOrg()`, `octokit.packages.restorePackageVersionForAuthenticatedUser()`, `octokit.packages.restorePackageVersionForOrg()` (#2017)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
…to v4.12.1 - no relevant changes (#2020)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
…ype - via @octokit/plugin-rest-endpoint-methods v4.12.2 (#2024)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
…ctions.deleteEnvironmentSecret()`, `octokit.actions.getEnvironmentPublicKey()`, `octokit.actions.getEnvironmentSecret()`, `octokit.actions.getPendingDeploymentsForRun()`, `octokit.actions.getReviewsForRun()`, `octokit.actions.listEnvironmentSecrets()`, `octokit.actions.reviewPendingDeploymentsForRun()`, `octokit.repos.createAnEnvironment()`, `octokit.repos.deleteAnEnvironment()`, `octokit.repos.getAllEnvironments()`, `octokit.repos.getEnvironment()`, `octokit.repos.setEnvironmentProtectionRules()`
renovate bot and others added 19 commits March 1, 2021 09:28
Co-authored-by: Renovate Bot <bot@renovateapp.com>
… `octokit.checks.update()`, and `octokit.gists.update()` (#2030)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
… v4.13.4 (#2034)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
… v4.13.5

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
…lPackageVersionsForPackageOwnedByAuthenticatedUser()` (deprecates `octokit.packages.getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser()`), `octokit.packages.getAllPackageVersionsForPackageOwnedByOrg()` (deprecates `octokit.packages.getAllPackageVersionsForAPackageOwnedByAnOrg`) (#2053)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
…ods are also set on `octokit.*` for foreseeable time, but no longer documented, and will be deprecated at some point in future (#2054)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
…unr-search to v3

Co-authored-by: Renovate Bot <bot@renovateapp.com>
* build(deps): lock file maintenance

* test(typescript): workaround gr2m/before-after-hook#91

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
@gr2m gr2m deleted the branch stackriot-labs:master April 18, 2021 17:51
@gr2m gr2m deleted the master branch April 18, 2021 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet