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.
2 parents 2e51f9b + cb65a7e commit 6b1f2aeCopy full SHA for 6b1f2ae
2 files changed
docsrc/Makefile
@@ -22,8 +22,6 @@ github:
22
@make html
23
@rm -rf ../docs/*
24
@cp -r _build/html/* ../docs
25
- @rm -rf ../docs/_modules
26
- @rm -rf ../docs/_sources
27
28
# Catch-all target: route all unknown targets to Sphinx using the new
29
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
docsrc/conf.py
@@ -439,3 +439,7 @@ def emit(self, record):
439
# 'reference_url': {
440
# 'skltemplate': None}
441
# }
442
+
443
+# Makes the copying behavior on code examples cleaner by removing things like In [10]: from the text to be copied
444
+copybutton_prompt_text = r">>> |\.\.\. |\$ |In \[\d*\]: | {2,5}\.\.\.: | {5,8}: "
445
+copybutton_prompt_is_regexp = True
0 commit comments