Skip to content

Commit 944cd24

Browse files
committed
Remove regex from sphinx-copybutton config, no that linenos are excluded by default
See https://sphinx-copybutton.readthedocs.io/en/latest/use.html#automatic-exclusion-of-prompts-from-the-copies Fixes #5345.
1 parent 67da86a commit 944cd24

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

docs/conf.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,6 @@
204204
]
205205

206206

207-
# -- sphinx_copybutton -----------------------
208-
copybutton_prompt_text = r"^ {0,2}\d{1,3}"
209-
copybutton_prompt_is_regexp = True
210-
211-
212207
# -- sphinx-notfound-page configuration ----------------------------------
213208

214209
notfound_urls_prefix = ""

0 commit comments

Comments
 (0)