diff --git a/doc/conf.py b/doc/conf.py index d0a26e19a84..630563f81e2 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -97,7 +97,7 @@ } # sphinx-copybutton configurations -copybutton_prompt_text = r">>> |\.\.\. |\$ |In \[\d*\]: | {2,5}\.\.\.: | {5,8}: " +copybutton_prompt_text = r">>> |\.\.\. |\$ |In \[\d*\]: | {2,5}\.{3,}: | {5,8}: " copybutton_prompt_is_regexp = True # nbsphinx configurations diff --git a/doc/whats-new.rst b/doc/whats-new.rst index e14b064aeda..30df104f168 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -88,7 +88,8 @@ Documentation By `Jessica Scheick `_. - Improvements to Zarr & chunking docs (:pull:`9139`, :pull:`9140`, :pull:`9132`) By `Maximilian Roos `_. - +- Fix copybutton for multi line examples and double digit ipython cell numbers (:pull:`9264`). + By `Moritz Schreiber `_. Internal Changes ~~~~~~~~~~~~~~~~