Skip to main content

sphinx-toggleprompt

PyPI | Documentation | Build

Sphinx-toggleprompt adds a button to Python code blocks to toggle >>> prompts and remove output lines. It's copied from the official Python docs theme.

See the documentation.

Installation and Usage

You can install sphinx-toggleprompt with pip:

pip install sphinx-toggleprompt

In your conf.py configuration file, add sphinx_toggleprompt to your extensions list.

extensions = [
    ...
    'sphinx_toggleprompt',
    ...
]

Usage with sphinx-copybutton

sphinx-toggleprompt works well with sphinx-copybutton - see the documentation.

Metadata

Release files for sphinx-toggleprompt 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinx-toggleprompt 0.6.0
File Size Uploaded
sphinx_toggleprompt-0.6.0.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-toggleprompt 0.6.0
File Interpreter ABI Platform
sphinx_toggleprompt-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.2 kB

Release files / sphinx_toggleprompt-0.6.0.tar.gz

Download URL sphinx_toggleprompt-0.6.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
59c726ecf3f0bb48be77f96b823ce6bcf4ed15ef1e0d6d85bed781b72d9347df
BLAKE2b-256 checksum
How to use checksums
e9909694dc656f1f96688a5f1d300cafbfa6609f15973bfef089efd758c2ef66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.11

Release files / sphinx_toggleprompt-0.6.0-py3-none-any.whl

Download URL sphinx_toggleprompt-0.6.0-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea116fbe0c438b12cbdcd85394b28a5abf7f8387417a64f230594f3c7bc7ded2
BLAKE2b-256 checksum
How to use checksums
a7b49fab92539e10bc277340e59808cdb7c1564c9a672d6b123bb13b97c05912
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.11

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page