forked from octokit/octokit.js
-
Notifications
You must be signed in to change notification settings - Fork 0
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
pull
wants to merge
512
commits into
stackriot-labs:master
Choose a base branch
from
octokit:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…d pin versino in package.json fixes #1657
### 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)
…rtsForRepo()` method (#1706)
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>
…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()`
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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )