Skip to content

Commit 2058a06

Browse files
committed
exclude linenumbers, prompts and output from copybutton
1 parent fcd5315 commit 2058a06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
"sphinx_rtd_theme",
5252
]
5353

54+
copybutton_exclude = ".linenos, .gp, .go"
55+
5456
# Add any paths that contain templates here, relative to this directory.
5557
templates_path = ["_templates"]
5658

0 commit comments

Comments
 (0)