From be2504cdf9eadeff97dc5bd2ca873608b61fa695 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Fri, 30 Nov 2018 16:28:44 +0100 Subject: [PATCH] hide pet store --- data/sidebars/references.yml | 5 ----- gatsby-config.js | 2 +- static/robots.txt | 1 + 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/data/sidebars/references.yml b/data/sidebars/references.yml index f75ee6ee..e153745c 100644 --- a/data/sidebars/references.yml +++ b/data/sidebars/references.yml @@ -17,8 +17,3 @@ items: - title: API reference link: /references/brizo/ - -- group: pet store - items: - - title: API reference - link: /references/petstore/ diff --git a/gatsby-config.js b/gatsby-config.js index 05268c46..ee991cd0 100755 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -131,7 +131,7 @@ module.exports = { { resolve: 'gatsby-plugin-sitemap', options: { - exclude: ['/test/'] + exclude: ['/test/', '/references/petstore/'] } }, { diff --git a/static/robots.txt b/static/robots.txt index f6de1241..11174796 100644 --- a/static/robots.txt +++ b/static/robots.txt @@ -1,4 +1,5 @@ User-agent: * Disallow: */test +Disallow: */references/petstore sitemap: https://docs.oceanprotocol.com/sitemap.xml