sphinx-toggleprompt
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)
| File | Size | Uploaded | |
|---|---|---|---|
| sphinx_toggleprompt-0.6.0.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|