1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

Issue-#850: Aquarius rest api

This commit is contained in:
Akshay 2022-02-24 20:04:19 +01:00
parent e787ff55ed
commit 7df4bad174
3 changed files with 9 additions and 4 deletions

3
.gitignore vendored
View File

@ -8,4 +8,5 @@ yarn-error.log
.env.* .env.*
markdowns/ markdowns/
.vscode/ .vscode/
size-plugin.json size-plugin.json
read-the-docs/

View File

@ -155,7 +155,7 @@ module.exports = {
options: { options: {
name: 'repo-read-the-docs', name: 'repo-read-the-docs',
remote: `https://github.com/oceanprotocol/readthedocs.git`, remote: `https://github.com/oceanprotocol/readthedocs.git`,
local: 'markdowns/', local: 'read-the-docs',
branch: 'v4', branch: 'v4',
patterns: [ patterns: [
'markdowns/ocean-py', 'markdowns/ocean-py',
@ -167,7 +167,7 @@ module.exports = {
{ {
resolve: 'gatsby-source-filesystem', resolve: 'gatsby-source-filesystem',
options: { options: {
path: `${__dirname}/markdowns/markdowns`, path: `${__dirname}/read-the-docs/markdowns`,
name: 'markdowns' name: 'markdowns'
} }
}, },

View File

@ -59,7 +59,11 @@ exports.createPages = ({ graphql, actions }) => {
} }
allRepoMarkdown: allMarkdownRemark( allRepoMarkdown: allMarkdownRemark(
filter: { fileAbsolutePath: { regex: "/markdowns/markdowns/" } } filter: {
fileAbsolutePath: {
regex: ".cache/gatsby-source-git/read-the-docs/markdowns/"
}
}
) { ) {
edges { edges {
node { node {