From 69f15daa88d372d18847770631d4229ac72e5bcc Mon Sep 17 00:00:00 2001 From: "Ashwin V. Mohanan" Date: Mon, 30 Sep 2024 16:01:27 +0200 Subject: [PATCH] Add copybutton conf to exclude prompt See https://github.com/coderefinery/sphinx-lesson/issues/93 This was added to https://github.com/coderefinery/git-intro/blob/3ad12101848a886e2c0c2cd032ce86f943c9f9ee/content/conf.py#L51 but this change implements the fix in the template. --- content/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/conf.py b/content/conf.py index 26206f0..610f558 100644 --- a/content/conf.py +++ b/content/conf.py @@ -50,6 +50,9 @@ "colon_fence", ] +# Settings for sphinx-copybutton +copybutton_exclude = ".linenos, .gp" + # Add any paths that contain templates here, relative to this directory. # templates_path = ['_templates']