Skip to content

Commit 4d8bafc

Browse files
committed
fix: Update JavaScript file referencing in header.html for Sphinx 5+ compatibility
1 parent b552c56 commit 4d8bafc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • source/_templates/sphinx_minoo_theme/includes

source/_templates/sphinx_minoo_theme/includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
{% set script_files = script_files + ['_static/searchtools.js'] %}
8484

8585
{%- for scriptfile in script_files %}
86-
<script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
86+
<script type="text/javascript" src="{{ pathto(scriptfile.filename, 1) }}"></script>
8787
{%- endfor %}
8888
{% endif %}
8989

0 commit comments

Comments
 (0)