Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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
Release History

Release History

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 Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
sphinx-prompt-1.0.0.tar.gz (3.2 kB) Copy SHA256 Checksum SHA256 Source Jun 7, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting