Skip to content

Commit 8e07393

Browse files
committed
docs: Update copy pattern
1 parent 95ba3af commit 8e07393

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@
9696
ogp_site_name = about["__title__"]
9797

9898
# sphinx-copybutton
99-
copybutton_prompt_text = r"$ |>>> |\.\.\. |\$ |In \[\d*\]: | {2,5}\.\.\.: | {5,8}: "
99+
copybutton_prompt_text = (
100+
r">>> |\.\.\. |> |\$ |\# | In \[\d*\]: | {2,5}\.\.\.: | {5,8}: "
101+
)
100102
copybutton_prompt_is_regexp = True
101103
copybutton_remove_prompts = True
102104

0 commit comments

Comments
 (0)