Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Sphinx directive to add unselectable prompt

Project description

Initialise

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

Syntax

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

   <statements>

Language

Supported language:

  • text (no pigments, default)
  • bash
  • python
  • scala

Prompt(s)

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.

Build

python bootstrap.py --distribute -v 1.7.1
./buildout/bin/buildout

Project details


Release history Release notifications

This version
History Node

1.0.0

History Node

0.2.2

History Node

0.2.1

History Node

0.2

History Node

0.2dev2

History Node

0.2dev1

History Node

0.1

History Node

0.1dev-20131013

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
sphinx-prompt-1.0.0.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None Jun 7, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page