From b86eddc62ea36a6d54dc5f5182932f1f01000509 Mon Sep 17 00:00:00 2001 From: Graham Hayes Date: Tue, 7 Jun 2016 18:30:24 +0100 Subject: [PATCH] Actually include custom JS files Change-Id: I9e85268722328ab5516153cff270b19c9bbfe4fb --- openstackdocstheme/theme/openstackdocs/js.html | 5 +++++ openstackdocstheme/theme/openstackdocs/layout.html | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 openstackdocstheme/theme/openstackdocs/js.html diff --git a/openstackdocstheme/theme/openstackdocs/js.html b/openstackdocstheme/theme/openstackdocs/js.html new file mode 100644 index 00000000..5fca7b30 --- /dev/null +++ b/openstackdocstheme/theme/openstackdocs/js.html @@ -0,0 +1,5 @@ +{%- for jsfile in script_files %} +{% if jsfile not in ('_static/jquery.js', '_static/underscore.js', '_static/doctools.js') %} + +{% endif %} +{%- endfor %} diff --git a/openstackdocstheme/theme/openstackdocs/layout.html b/openstackdocstheme/theme/openstackdocs/layout.html index f6cdae72..767b497a 100644 --- a/openstackdocstheme/theme/openstackdocs/layout.html +++ b/openstackdocstheme/theme/openstackdocs/layout.html @@ -11,9 +11,6 @@ {% include 'css.html' %} {%- for cssfile in css_files %} -{%- endfor %} -{%- for jsfile in js_files %} -