
On Fri, Apr 05, 2019 at 04:35:27PM +0200, Andrea Bolognani wrote:
On Fri, 2019-04-05 at 14:30 +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@redhat.com> --- docs/main.js | 25 +++++++++++++++++++++++++ docs/page.xsl | 35 +++-------------------------------- 2 files changed, 28 insertions(+), 32 deletions(-) create mode 100644 docs/main.js
Don't we need to add the new file to docs/Makefile.am so that it's included in release archives and... Possibly installed?
Oooh, pre-existing bug ! Doesn't affect libvirt.org, but does affect normal installs. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|