Larry G. Wapnitsky
Larry G. Wapnitsky

Reputation: 1246

Blocking off text with blank lines in Sphinx (python)

I'm looking to include program usage in a Sphinx document, but am having trouble enclosing the text in a block.

There are blank spaces in my text. Example:

Proper usage of script.py

  usage: script.py [-h] [-q] [-v] [-D DAYS] [-H HOURS] [-M MINUTES] [-x] -s
                     SERVER -d DATABASE -u USERNAME -p PASSWORD

  Run some funky stuff

Upvotes: 0

Views: 150

Answers (1)

Kevin Horn
Kevin Horn

Reputation: 4295

There are a number of options here depending on what you want:

Upvotes: 1

Related Questions