Skip to content

Commit

Permalink
change deprecated add_javascript to add_js_file for doc construction (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
TimotheeMathieu authored May 29, 2021
1 parent 5be10c1 commit 4e453eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,4 +334,4 @@

def setup(app):
# a copy button to copy snippet of code from the documentation
app.add_javascript("js/copybutton.js")
app.add_js_file("js/copybutton.js")

0 comments on commit 4e453eb

Please sign in to comment.