From 6dabff6cf5a33b1951d2440c8677ac109fa60f04 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Mon, 28 Oct 2019 22:13:06 +0100 Subject: [PATCH] Backport PR #15553: DOC: add cache-buster query string to css path --- doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index 7c51f2309288..29cdf742a36c 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -218,7 +218,7 @@ def _check_dependencies(): # must exist either in Sphinx' static/ path, or in one of the custom paths # given in html_static_path. #html_style = 'matplotlib.css' -html_style = 'mpl.css' +html_style = f'mpl.css?{SHA}' # The name for this set of Sphinx documents. If None, it defaults to # " v documentation".