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

Feature: Resolve issue related to duplicate docs

This commit is contained in:
Akshay 2021-04-20 15:44:23 +02:00
parent 4167e35067
commit 8a29568176
2 changed files with 7 additions and 3 deletions

View File

@ -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'
]
}
},
{

View File

@ -59,7 +59,7 @@ exports.createPages = ({ graphql, actions }) => {
}
allRepoMarkdown: allMarkdownRemark(
filter: { fileAbsolutePath: { regex: "/markdowns/" } }
filter: { fileAbsolutePath: { regex: "/markdowns/markdowns/" } }
) {
edges {
node {