From c7f1b0ffefd7e17e2129f47abaf4b68cb01ca8c3 Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 30 Mar 2022 10:19:16 +0200 Subject: [PATCH 1/2] Issue-#921: Include pre-release --- gatsby-node.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gatsby-node.js b/gatsby-node.js index 3c455867..f219ea77 100755 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -193,10 +193,7 @@ exports.createPages = ({ graphql, actions }) => { // API: ocean.js const lastRelease = result.data.oceanJs.repository.releases.edges.filter( - ({ node }) => - !node.isPrerelease && - !node.isDraft && - node.releaseAssets.edges.length > 0 + ({ node }) => !node.isDraft && node.releaseAssets.edges.length > 0 )[0].node.releaseAssets.edges[0].node await createTypeDocPage( From 1a813474d930200a43901685c64bddd12222694d Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 30 Mar 2022 10:45:15 +0200 Subject: [PATCH 2/2] Issue-#921: Trigger docs rebuild for ocean.py references