mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Issue-#850: Rest api doc
This commit is contained in:
parent
028cfe52d6
commit
5f60b51529
@ -192,8 +192,13 @@ exports.createPages = ({ graphql, actions }) => {
|
||||
const oceanPyList = filterMarkdownList(markdowns, 'ocean.py')
|
||||
const providerList = filterMarkdownList(markdowns, 'provider')
|
||||
const subgraphList = filterMarkdownList(markdowns, 'ocean-subgraph')
|
||||
|
||||
console.log('Aquarius rest api', markdowns)
|
||||
const aquariusList = filterMarkdownList(markdowns, 'aquarius')
|
||||
const r = aquariusList.map(({ node }) => [
|
||||
node.frontmatter.title,
|
||||
node.frontmatter.app,
|
||||
node.frontmatter.source
|
||||
])
|
||||
console.log('Aquarius rest api', r)
|
||||
const aquariusRestApi = result.data.aquariusRestApi.edges[0].node
|
||||
await createRestApiPage(
|
||||
createPage,
|
||||
|
Loading…
Reference in New Issue
Block a user