sangramga commented on a change in pull request #24456: [SPARK-27557][DOC] Add 
copy button to Python API docs for easier copying of code-blocks
URL: https://github.com/apache/spark/pull/24456#discussion_r278829890
 
 

 ##########
 File path: python/docs/_static/copybutton.js
 ##########
 @@ -0,0 +1,66 @@
+// Copyright 2014 PSF. Licensed under the PYTHON SOFTWARE FOUNDATION LICENSE 
VERSION 2
+// File originates from the cpython source found in 
Doc/tools/sphinxext/static/copybutton.js
 
 Review comment:
   @srowen I didn't find any other way to get this rendered with sphinx. 
According to my 
[references](https://github.com/apache/spark/pull/24456#issuecomment-486600616),
 it is used in the same way by other libraries like scipy, and scikit-learn. I 
would be happy to implement this  feature without actually copying the code in 
project - but there seems to be no  way to do this.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to