We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 681c8dd commit 7a23593Copy full SHA for 7a23593
docs/source/conf.py
@@ -58,6 +58,11 @@
58
59
nb_execution_mode = "off"
60
61
+# configure copy button to avoid copying sphinx or console characters
62
+copybutton_exclude = ".linenos, .gp"
63
+copybutton_prompt_text = r">>> |\.\.\. |\$ |In \[\d*\]: | {2,5}\.\.\.: | {5,8}: "
64
+copybutton_prompt_is_regexp = True
65
+
66
source_suffix = {
67
".rst": "restructuredtext",
68
".ipynb": "myst-nb",
0 commit comments