From c139047396bd55aa18beb51b944102d74002c686 Mon Sep 17 00:00:00 2001 From: jlaehne Date: Fri, 25 Oct 2024 18:53:59 +0200 Subject: [PATCH] update documentation --- doc/conf.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index 3cf369ae0..82157471a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -119,6 +119,12 @@ def setup(app): app.add_css_file("css/light.css") +# CopyButton configuration +copybutton_prompt_text = r">>> |\.\.\. |\$ |In \[\d*\]: | {2,5}\.\.\.: | {5,8}: " +copybutton_prompt_is_regexp = True +copybutton_line_continuation_character = "\\" + + # -- Options for towncrier_draft extension ----------------------------------- # Options: draft/sphinx-version/sphinx-release