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.*
markdowns/
.vscode/
size-plugin.json
size-plugin.json
read-the-docs/

View File

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

View File

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