You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/04/25 09:36:10 UTC

[GitHub] [spark] sangramga commented on issue #24456: [SPARK-27557][DOC] Add copy button to Python API docs for easier copying of code-blocks

sangramga commented on issue #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#issuecomment-486600616
 
 
   @HyukjinKwon there seems to be no default configuration in Sphinx - Nature theme, also above seems to be the simplest way.
   I referred to Sphinx issues: [https://github.com/rtfd/sphinx_rtd_theme/issues/167](https://github.com/rtfd/sphinx_rtd_theme/issues/167)
   It's also most adopted in python community - refer to both scipy and scikit-learn documentation
   [scipy-copybutton.js](https://github.com/scipy-lectures/scipy-lectures.github.com/blob/master/_static/copybutton.js)
   [sklearn-copybutton.js](https://github.com/scikit-learn/scikit-learn/blob/master/doc/themes/scikit-learn/static/js/copybutton.js)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org