Skip to content

maint: add v22.x docs #515

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@v4
with:
node-version: 24
node-version: 22 # This version is known working by the docs
cache: npm
- run: npm ci
- run: npm --prefix ./docs ci ./docs
Expand Down
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: "v21", // configure the path for the current version
currentVersion: "v22", // configure the path for the current version
versions: [
{
name: "v16", // the path of the older version
Expand All @@ -114,6 +114,11 @@ module.exports = {
branch: "20.x", // older versions specify a branch name for this repo
endpoints: "10.x", // ...and one for the endpoint methods
},
{
name: "v21", // the path of the older version
branch: "21.x", // older versions specify a branch name for this repo
endpoints: "13.x", // ...and one for the endpoint methods
},
],
},
},
Expand Down