From 849f76e7936e57bee8405225c4c6b291f9cdf5f4 Mon Sep 17 00:00:00 2001 From: "David B. Kinder" Date: Tue, 27 Aug 2019 09:11:47 -0700 Subject: [PATCH] doc: remove modernizr.min.js from RTD theme modernizr.min.js is causing unnecessary reloads of a page causing flashing of the browser window during page load (most noticiable with firefox). This empty script effectively wipes out the modernizr.min.js unnecessarily loaded by the Sphinx rtd theme (see https://github.com/readthedocs/sphinx_rtd_theme/issues/724) Signed-off-by: David B. Kinder --- doc/static/js/modernizr.min.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/static/js/modernizr.min.js diff --git a/doc/static/js/modernizr.min.js b/doc/static/js/modernizr.min.js new file mode 100644 index 00000000000..06836e25be7 --- /dev/null +++ b/doc/static/js/modernizr.min.js @@ -0,0 +1,9 @@ +/* modernizr.min.js is causing unnecessary reloads of a page causing + * flashing of the browser window during page load. This empty script + * effectively wipes out the modernizr.min.js unnecessarily loaded by + * the Sphinx rtd theme (see + * https://github.com/readthedocs/sphinx_rtd_theme/issues/724) + * + * Copyright (c) 2019 Intel Corporation + * SPDX-License-Identifier: Apache-2.0 + */