diff --git a/_websiteutils/make_redirects_links.py b/_websiteutils/make_redirects_links.py index 4299c9c2654..595bbf50e6c 100755 --- a/_websiteutils/make_redirects_links.py +++ b/_websiteutils/make_redirects_links.py @@ -41,14 +41,13 @@ toignore = tocheck + [pathlib.Path(p) for p in [ "mpl-probscale", - "mpl_examples", - "mpl_toolkits", "_webpageutils", "xkcd", "_sitemap", "robots.txt", "CNAME", ".git", + "index.html", # this is being hard coded now! ]] logging.basicConfig(level=logging.DEBUG) @@ -67,18 +66,38 @@ def findlast(fname, tocheck): return None -html_redirect = """ - -
- - - - - +html_redirect = """ + + + + + + +