From d0f4d0624234eb27341c041eaa67e751263696f3 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Thu, 23 Oct 2025 23:33:48 -0400 Subject: [PATCH] Fix top-level brochure site Formerly, `_static` was not used by the brochure site, and so was redirected to `/stable/_static` as part of removing old top-level URLs. At some point, either an upgrade to Sphinx or to the theme put files back into `_static`. This was fine when both used the same versions of things, but https://github.com/matplotlib/mpl-brochure-site/pull/103 updated themes in the brochure site while the stable docs remained on an older version. Since the brochure site is not coupled with the stable docs, remove the redirects for these directories. Fixes matplotlib/mpl-brochure-site#109 --- templates/Caddyfile.j2 | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/Caddyfile.j2 b/templates/Caddyfile.j2 index 08a4e59..a2cb73e 100644 --- a/templates/Caddyfile.j2 +++ b/templates/Caddyfile.j2 @@ -157,8 +157,6 @@ http://{{ caddy.addresses.main }}, http://{{ ansible_fqdn }} { "_images", "_modules", "_panels_static", - "_sources", - "_static", "api", "devel", "examples",