From dbf6320223fbc0477edf2e5f5e43a31e6bf7ea8b Mon Sep 17 00:00:00 2001 From: "Antoine Vandevenne (anv)" Date: Fri, 2 Apr 2021 17:25:04 +0200 Subject: [PATCH] split custom-js files with "," instead of ";" --- conf.py | 4 ++-- .../finance/accounting/overview/main_concepts/memento.rst | 2 +- .../management/reporting/valuation_methods_anglo_saxon.rst | 2 +- .../management/reporting/valuation_methods_continental.rst | 2 +- .../inventory/overview/concepts/double-entry.rst | 2 +- extensions/odoo_theme/layout.html | 3 ++- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/conf.py b/conf.py index 74a575f3d..682905bdc 100644 --- a/conf.py +++ b/conf.py @@ -163,9 +163,9 @@ html_favicon = os.path.join(html_theme_path[0], html_theme, 'static', 'img', 'fa html_static_path = ['static'] html_add_permalinks = 'ΒΆ' # Sphinx < 3.5 html_permalinks = True # Sphinx >= 3.5 -# The page-specific js files that can be imported with the 'custom-js' metadata directive. +# The page-specific js files that can be imported with the 'custom-js' metadata directive. TODO VFE does it act as a filter? Why are there already some imports not listed here? html_js_files = [] -# The page-specific css files that can be imported with the 'custom-css' metadata directive. +# The page-specific css files that can be imported with the 'custom-css' metadata directive. TODO VFE does it act as a filter? Why are there already some imports not listed here? html_css_files = [] # PHP lexer option to not require {% endif %} @@ -20,7 +21,7 @@ integrity="sha512-wsnDgOxfyn4lhblRMHPMuJh+9CnLcwcisda1zLRGNWKh6OiQynebYTyRZYgH+eWLEdNTKak0OD2GAd/S51UhTw==" crossorigin="anonymous"> - {% set js_files = meta['custom-js'].split(';') %} + {% set js_files = meta['custom-js'].split(',') %} {% for js_file in js_files %} {% set link = '_static/js/' + js_file %}