On Fri, 2019-04-05 at 17:38 +0200, Andrea Bolognani wrote:
On Fri, 2019-04-05 at 16:12 +0100, Daniel P. Berrangé wrote:
> Instead of duplicating javascript in every single page, put it in a
> standalone file which can be cached by the browser.
>
> Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
> ---
> docs/Makefile.am | 1 +
> docs/main.js | 25 +++++++++++++++++++++++++
> docs/page.xsl | 35 +++--------------------------------
> 3 files changed, 29 insertions(+), 32 deletions(-)
> create mode 100644 docs/main.js
Reviewed-by: Andrea Bolognani <abologna(a)redhat.com>
Actually, not so fast: you've moved the existing JavaScript code
to docs/main.js instead of js/docs/main.js, which is of course
completely wrong. Please fix that before pushing.
--
Andrea Bolognani / Red Hat / Virtualization