I'm trying to create my docs with Sphinx, and now on two machines I have the exact same problem: the program-output directive does not work.
I installed Sphinx, then the programoutput extension:
$ sudo pip install sphinxcontrib-programoutput
The installation went fine, documents compile beautifully to nice looking html, but the command-output just doesn't work.
I created a super-simple test case with a file called test.rst containing a single line:
.. program-output:: python -V
Now when trying to compile this, I get the following output (path abbreviated):
/path/to/test.rst:1: ERROR: Unknown directive type "program-output".
Changing program-output to it's alias command-output doesn't work either (not surprising). I really wonder what I'm doing wrong here. I followed the installation instructions, tried it again and again, reinstalled with an --upgrade flag, nothing works.
sphinxcontrib-programoutputin yourconf.py? - bmu