add copy codeblock button

Apply suggestions from code review

Co-authored-by: Danny <Rapptz@users.noreply.github.com>

Change to icon, change according to slice's review
This commit is contained in:
NCPlayz
2020-05-27 00:50:51 +01:00
committed by Rapptz
parent c21919cee5
commit ce0d0a20dd
3 changed files with 60 additions and 2 deletions

View File

@ -320,5 +320,6 @@ texinfo_documents = [
def setup(app):
app.add_js_file('custom.js')
app.add_js_file('copy.js')
if app.config.language == 'ja':
app.config.intersphinx_mapping['py'] = ('https://docs.python.org/ja/3', None)