Skip to content

Commit

Permalink
docs: add docs for v20 (#340)
Browse files Browse the repository at this point in the history
----

### Before the change?
<!-- Please describe the current behavior that you are modifying. -->

* Docs would refer to the latest version of Octokit as v19

### After the change?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

* Uses v20 as the latest version

### Pull request checklist
- [x] Tests for the changes have been added (for bug fixes / features)
- [x] Docs have been reviewed and added / updated if needed (for bug
fixes / features)

### Does this introduce a breaking change?
<!-- If this introduces a breaking change make sure to note it here any
what the impact might be -->

Please see our docs on [breaking
changes](https://github.com/octokit/.github/blob/master/community/breaking_changes.md)
to help!

- [ ] Yes
- [x] No

----
  • Loading branch information
wolfy1339 committed Aug 10, 2023
1 parent dcf5353 commit 27dd482
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ module.exports = {
{
resolve: "gatsby-plugin-versioned-docs",
options: {
currentVersion: "v19", // configure the path for the current version
currentVersion: "v20", // configure the path for the current version
versions: [
{
name: "v16", // the path of the older version
Expand All @@ -104,6 +104,11 @@ module.exports = {
branch: "18.x", // older versions specify a branch name for this repo
endpoints: "5.x", // ...and one for the endpoint methods
},
{
name: "v19", // the path of the older version
branch: "19.x", // older versions specify a branch name for this repo
endpoints: "7.x", // ...and one for the endpoint methods
},
],
},
},
Expand Down

0 comments on commit 27dd482

Please sign in to comment.