From a2526a59c6b61c8d06949aaf98969aae26165913 Mon Sep 17 00:00:00 2001 From: Shivam Maurya <54358380+shvmm@users.noreply.github.com> Date: Sun, 22 Dec 2024 21:11:37 +0530 Subject: [PATCH 1/2] Update conf.py Add sphinx_copybutton to code-blocks --- conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/conf.py b/conf.py index fbab170c4c..49fc5ae1eb 100644 --- a/conf.py +++ b/conf.py @@ -45,6 +45,7 @@ "sphinx_tabs.tabs", "sphinx_toolbox.collapse", "tables", + "sphinx_copybutton", ] # Add any paths that contain templates here, relative to this directory. From 5b2c5147a56a7c73961ee2cfebbc306daf134739 Mon Sep 17 00:00:00 2001 From: Shivam Maurya <54358380+shvmm@users.noreply.github.com> Date: Sun, 22 Dec 2024 21:20:01 +0530 Subject: [PATCH 2/2] Update requirements.txt --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 183bef6def..a523e9d743 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,4 @@ sphinx==7.1.2 sphinx-autobuild==2021.3.14 sphinx-tabs==3.4.7 sphinx-toolbox==3.8.0 +sphinx-copybutton==0.5.2