mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Merge pull request #931 from oceanprotocol/issue-921-api-references
V4: Ocean.js and Ocean.py api references
This commit is contained in:
commit
dd53d24550
@ -193,10 +193,7 @@ exports.createPages = ({ graphql, actions }) => {
|
|||||||
// API: ocean.js
|
// API: ocean.js
|
||||||
const lastRelease =
|
const lastRelease =
|
||||||
result.data.oceanJs.repository.releases.edges.filter(
|
result.data.oceanJs.repository.releases.edges.filter(
|
||||||
({ node }) =>
|
({ node }) => !node.isDraft && node.releaseAssets.edges.length > 0
|
||||||
!node.isPrerelease &&
|
|
||||||
!node.isDraft &&
|
|
||||||
node.releaseAssets.edges.length > 0
|
|
||||||
)[0].node.releaseAssets.edges[0].node
|
)[0].node.releaseAssets.edges[0].node
|
||||||
|
|
||||||
await createTypeDocPage(
|
await createTypeDocPage(
|
||||||
|
Loading…
Reference in New Issue
Block a user