Skip to content

Commit

Permalink
Remove regex from sphinx-copybutton config, now that linenos are excl… (
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy authored Oct 31, 2023
1 parent 77d5808 commit 028e16e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,6 @@
]


# -- sphinx_copybutton -----------------------
copybutton_prompt_text = r"^ {0,2}\d{1,3}"
copybutton_prompt_is_regexp = True


# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
Expand Down
1 change: 1 addition & 0 deletions news/5346.documentation
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove regular expression from `sphinx-copybutton` configuration, now that `linenos` are excluded by default. @stevepiercy

0 comments on commit 028e16e

Please sign in to comment.