Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Documentation

    sphinxcontrib-programscreenshot 0.0.4

    Download button

    No screenshots available
    Downloads: 151  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    ponty | More programs
    BSD License / FREE
    February 8th, 2012, 13:01 GMT
    ROOT / Documentation

     Read user reviews (0)  Refer to a friend  Subscribe

    sphinxcontrib-programscreenshot description

    Sphinx extension to include screenshot of programs

    sphinxcontrib-programscreenshot is a Sphinx 1.0 extension that executes programs during the build step and includes their screenshot into the documentation. GUI version of the sphinxcontrib.programoutput extension.

    Home: https://github.com/ponty/sphinxcontrib-programscreenshot

    Documentation: http://ponty.github.com/sphinxcontrib-programscreenshot

    Basic usage


    .. program-screenshot:: xmessage hello
     :prompt:


    How it works

    1. start Xvfb headless X server using pyvirtualdisplay
    2. redirect program display to Xvfb server by setting $DISPLAY variable.
    3. wait some seconds
    4. take screenshot by pyscreenshot which needs scrot.
    5. use .. image:: directive to display image

    Installation

    General


    - install Xvfb and Xephyr

    - install PIL

    - install scrot

    - install pip

    - install the program:

     # as root
     pip install sphinxcontrib-programscreenshot

    Ubuntu


    sudo apt-get install python-pip
    sudo apt-get install scrot
    sudo apt-get install xvfb
    sudo apt-get install xserver-xephyr
    sudo apt-get install python-imaging
    sudo pip install sphinxcontrib-programscreenshot


    Uninstall

    # as root
    pip uninstall sphinxcontrib-programscreenshot


    Product's homepage

    Requirements:

    · Python
    · Sphinx

      


    TAGS:

    Sphinx extension | program screenshot | Sphinx | screenshot | documentation

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM