Skip to content

Commit

Permalink
Merge pull request #218 from jlaehne/doc-code
Browse files Browse the repository at this point in the history
Adapt code display across user guide
  • Loading branch information
jlaehne authored Oct 25, 2024
2 parents b30725b + 206cdc3 commit c4d5fc5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ def setup(app):
app.add_css_file("css/light.css")


# CopyButton configuration
copybutton_prompt_text = r">>> |\.\.\. |\$ |In \[\d*\]: | {2,5}\.\.\.: | {5,8}: "
copybutton_prompt_is_regexp = True
copybutton_line_continuation_character = "\\"


# -- Options for towncrier_draft extension -----------------------------------

# Options: draft/sphinx-version/sphinx-release
Expand Down

0 comments on commit c4d5fc5

Please sign in to comment.