viirya commented on a change in pull request #33502:
URL: https://github.com/apache/spark/pull/33502#discussion_r675934211



##########
File path: python/docs/conf.py
##########
@@ -335,7 +335,7 @@
 # If false, no index is generated.
 #epub_use_index = True
 def setup(app):
-    app.add_javascript('copybutton.js')
+    app.add_js_file('copybutton.js')

Review comment:
       `add_javascript` was renamed to `add_js_file` in later sphinx version.
   
   
https://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.add_js_file
   
   Let me know if you prefer to have separate PR for it.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to