Skip to content

Commit

Permalink
Merge pull request #2836 from jessica-mitchell/modify-copybutton
Browse files Browse the repository at this point in the history
Set copybutton to only copy input lines in docs
  • Loading branch information
jougs authored Jul 4, 2023
2 parents 1e6c911 + 063892a commit a9aa380
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/htmldoc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@
copyright = "2004, nest-simulator"
author = "nest-simulator"

copybutton_prompt_text = ">>> "
# The output lines will not be copied if set to True
copybutton_only_copy_prompt_lines = True

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down

0 comments on commit a9aa380

Please sign in to comment.