diff --git a/gatsby-config.js b/gatsby-config.js index 7a3d8784..fca4b32f 100755 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -154,11 +154,15 @@ module.exports = { { resolve: `gatsby-source-git`, options: { - name: `repo-read-the-docs`, + name: 'repo-read-the-docs', remote: `https://github.com/oceanprotocol/readthedocs.git`, local: 'markdowns/', branch: 'gatsby', - patterns: 'markdowns/**' + patterns: [ + 'markdowns/ocean-py', + 'markdowns/aquarius', + 'markdowns/provider' + ] } }, { diff --git a/gatsby-node.js b/gatsby-node.js index 6cc48254..a0df9556 100755 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -59,7 +59,7 @@ exports.createPages = ({ graphql, actions }) => { } allRepoMarkdown: allMarkdownRemark( - filter: { fileAbsolutePath: { regex: "/markdowns/" } } + filter: { fileAbsolutePath: { regex: "/markdowns/markdowns/" } } ) { edges { node {