Skip to content

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

PyExec

Documentation Status Build Status

A sphinx extension for running python code and displaying both the input and output sphinx documentation.

In the conf.py add PyExec to your extensions.

In the ReStructuredText file, use the exec environment

  .. exec::
    print 2 + 2

To output python code & the results in your documentation.

  >> print 2 + 2
  4

Note that you need to include the print statement for the output to be shown. To see it in action, checkout the Properties documentation.

Based on

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages