From 0aec4da91a8b69eb7a5fe39e1e99e80de77ebac4 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Mon, 25 Jan 2021 17:12:35 -0800 Subject: [PATCH] FIX: move sitemap --- sitemap.xml => _sitemap/sitemap.xml | 0 robots.txt | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) rename sitemap.xml => _sitemap/sitemap.xml (100%) diff --git a/sitemap.xml b/_sitemap/sitemap.xml similarity index 100% rename from sitemap.xml rename to _sitemap/sitemap.xml diff --git a/robots.txt b/robots.txt index 7428d1d6be7..1664f3ef675 100644 --- a/robots.txt +++ b/robots.txt @@ -6,6 +6,7 @@ User-agent: * # do not search root directory by default. Disallow: / +Allow: /_sitemap/ # but allow some subdirectories: Allow: /stable/ @@ -30,5 +31,6 @@ Allow: /mpl-bench/ Allow: /mpl-altair/ Allow: /devdocs/ + # tell robots this is sitemap -Sitemap: https://matplotlib.org/sitemap.xml +Sitemap: https://matplotlib.org/_sitemap/sitemap.xml