sphinx-execute-code icon indicating copy to clipboard operation
sphinx-execute-code copied to clipboard

Added :precode: option to hide imports

Open spacemanspiff2007 opened this issue 5 years ago • 0 comments

Added :precode: option to hide imports

Added possibility for precode:

.. execute_code::
    :precode: from package import Bla

    print(Bla.bla())

https://github.com/jpsenior/sphinx-execute-code/pull/7

spacemanspiff2007 avatar May 02 '19 12:05 spacemanspiff2007