Skip to main content

No project description provided

Project description

Sphinx directive to add unselectable prompt

Author: Stéphane Brunner
License: BSD
Description: Sphinx Prompt

.. contents:: Table of contents


In ```` add ``extensions += ['sphinx-prompt']``.


.. code::

.. prompt:: [<language> [<prompts> [<modifier>]]]



Supported language:

- ``text`` (no pigments, default)
- ``bash``
- ``python``
- ``scala``


If modifier is auto, a comma-separated list of prompts to find in the statements.

Else the prompt to add on each statements, for Python and Bash language the end
``\`` is supported.

Default to empty, ``$`` for bash language.




.. code::

python --distribute -v 1.7.1

Keywords: gis tilecloud chain
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sphinx-prompt, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size sphinx_prompt-1.1.0-py2-none-any.whl (4.5 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size sphinx-prompt-1.1.0.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page