1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-02 00:05:35 +01:00

Merge branch 'feature/read-the-docs' of github.com:oceanprotocol/docs into feature/read-the-docs

This commit is contained in:
Akshay 2021-06-09 16:19:41 +02:00
commit 806e2088bd

View File

@ -132,12 +132,13 @@ exports.createPages = ({ graphql, actions }) => {
await createSwaggerPages(createPage)
// API: ocean.js
const lastRelease = result.data.oceanJs.repository.releases.edges.filter(
({ node }) =>
!node.isPrerelease &&
!node.isDraft &&
node.releaseAssets.edges.length > 0
)[0].node.releaseAssets.edges[0].node
const lastRelease =
result.data.oceanJs.repository.releases.edges.filter(
({ node }) =>
!node.isPrerelease &&
!node.isDraft &&
node.releaseAssets.edges.length > 0
)[0].node.releaseAssets.edges[0].node
await createTypeDocPage(
createPage,