From f79a6a89217f4cebc81c4a73a7460a9c45c7c56a Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Fri, 8 Jan 2021 22:29:10 +0100 Subject: [PATCH] Add the copy button to pycon3 highlighted code blocks. --- python_docs_theme/static/copybutton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_docs_theme/static/copybutton.js b/python_docs_theme/static/copybutton.js index f5960d2..16dee00 100644 --- a/python_docs_theme/static/copybutton.js +++ b/python_docs_theme/static/copybutton.js @@ -5,6 +5,7 @@ $(document).ready(function() { var div = $('.highlight-python .highlight,' + '.highlight-python3 .highlight,' + '.highlight-pycon .highlight,' + + '.highlight-pycon3 .highlight,' + '.highlight-default .highlight'); var pre = div.find('pre'); @@ -61,4 +62,3 @@ $(document).ready(function() { } }); }); -