diff --git a/doc/conf.py b/doc/conf.py index 3cf369ae0..49534057c 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -118,6 +118,10 @@ def setup(app): app.add_css_file("css/dark.css") 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 -----------------------------------