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`,
|
resolve: `gatsby-source-git`,
|
||||||
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: 'markdowns/',
|
||||||
branch: 'gatsby',
|
branch: 'gatsby',
|
||||||
patterns: 'markdowns/**'
|
patterns: [
|
||||||
|
'markdowns/ocean-py',
|
||||||
|
'markdowns/aquarius',
|
||||||
|
'markdowns/provider'
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -59,7 +59,7 @@ exports.createPages = ({ graphql, actions }) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
allRepoMarkdown: allMarkdownRemark(
|
allRepoMarkdown: allMarkdownRemark(
|
||||||
filter: { fileAbsolutePath: { regex: "/markdowns/" } }
|
filter: { fileAbsolutePath: { regex: "/markdowns/markdowns/" } }
|
||||||
) {
|
) {
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
|
Loading…
Reference in New Issue
Block a user