Skip to content

Commit 27dd482

Browse files
authored
docs: add docs for v20 (octokit#340)
---- ### 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 ----
1 parent dcf5353 commit 27dd482

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/gatsby-config.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ module.exports = {
8787
{
8888
resolve: "gatsby-plugin-versioned-docs",
8989
options: {
90-
currentVersion: "v19", // configure the path for the current version
90+
currentVersion: "v20", // configure the path for the current version
9191
versions: [
9292
{
9393
name: "v16", // the path of the older version
@@ -104,6 +104,11 @@ module.exports = {
104104
branch: "18.x", // older versions specify a branch name for this repo
105105
endpoints: "5.x", // ...and one for the endpoint methods
106106
},
107+
{
108+
name: "v19", // the path of the older version
109+
branch: "19.x", // older versions specify a branch name for this repo
110+
endpoints: "7.x", // ...and one for the endpoint methods
111+
},
107112
],
108113
},
109114
},

0 commit comments

Comments
 (0)