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:
parent
4167e35067
commit
8a29568176
@ -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'
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ exports.createPages = ({ graphql, actions }) => {
|
||||
}
|
||||
|
||||
allRepoMarkdown: allMarkdownRemark(
|
||||
filter: { fileAbsolutePath: { regex: "/markdowns/" } }
|
||||
filter: { fileAbsolutePath: { regex: "/markdowns/markdowns/" } }
|
||||
) {
|
||||
edges {
|
||||
node {
|
||||
|
Loading…
Reference in New Issue
Block a user