Skip to content

Commit

Permalink
DOC: Fix accordion usage in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Nov 14, 2023
1 parent 793f865 commit eec951c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/_ext/sphinx_accordion/accordion.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ def setup(app):
if path.endswith('.js'):
if 'add_script_file' in dir(app):
app.add_script_file(path)
else:
app.add_js_file(path)

app.connect('html-page-context', update_context)
app.connect('build-finished', copy_assets)
Expand Down

0 comments on commit eec951c

Please sign in to comment.