Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit ddc7cfc

Browse files
committed
Add version to key css and js files
1 parent 7e9f5ab commit ddc7cfc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap

runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap/layout.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
{% set appname = '{{ =request.application }}' %}
55
{% endif %}
66

7-
{% set script_files = ['_static/runestonebase.js'] + script_files + [
7+
{% set script_files = ['_static/runestonebase.js?v='+runestone_version] + script_files + [
88
'_static'+'/jquery-ui-1.10.3.custom.min.js',
99
'_static'+'/jquery-fix.js',
1010
'_static'+'/bootstrap-3.0.0/js/bootstrap.min.js',
1111
'_static'+'/bootstrap-sphinx.js',
1212
'_static'+'/waypoints.min.js',
13-
'_static'+'/user-highlights.js',
13+
'_static'+'/user-highlights.js?v='+runestone_version,
1414
'_static'+'/jquery.idle-timer.js',
1515
'_static'+'/processing-1.4.1.min.js',
1616
'_static'+'/jquery.hotkey.js',
1717
'_static'+'/jquery-migrate-1.2.1.min.js',
18-
'_static'+'/presenter_mode.js',
18+
'_static'+'/presenter_mode.js?v='+runestone_version,
1919
]
2020
%}
2121

@@ -30,7 +30,7 @@
3030
'_static'+'/jquery-ui-1.10.3.custom.min.css',
3131
'_static'+'/bootstrap-sphinx.css',
3232
'_static'+'/user-highlights.css',
33-
'_static/runestone-custom-sphinx-bootstrap.css',
33+
'_static/runestone-custom-sphinx-bootstrap.css?v='+runestone_version,
3434
]
3535
%}
3636

0 commit comments

Comments
 (0)