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 <david.b.kinder@intel.com>
This commit is contained in:
David B. Kinder 2019-08-27 09:11:47 -07:00 committed by Anas Nashif
commit 849f76e793

9
doc/static/js/modernizr.min.js vendored Normal file
View file

@ -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
*/