From 063892ac7d4a48ed34a1bb069ba1fb6c9ebe3914 Mon Sep 17 00:00:00 2001 From: Jessica Mitchell Date: Thu, 22 Jun 2023 09:12:36 +0200 Subject: [PATCH] set copybutton to only copy input lines --- doc/htmldoc/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/htmldoc/conf.py b/doc/htmldoc/conf.py index e1c8b0abdf..91a6f85835 100644 --- a/doc/htmldoc/conf.py +++ b/doc/htmldoc/conf.py @@ -81,6 +81,9 @@ copyright = "2004, nest-simulator" author = "nest-simulator" +copybutton_prompt_text = ">>> " +# The output lines will not be copied if set to True +copybutton_only_copy_prompt_lines = True # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the