Skip to content

Commit 4e453eb

Browse files
change deprecated add_javascript to add_js_file for doc construction (#117)
1 parent 5be10c1 commit 4e453eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,4 +334,4 @@
334334

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

0 commit comments

Comments
 (0)