sphinx-execute-code
sphinx-execute-code copied to clipboard
Sphinx support for execution of python code in sphinx documentation from code blocks or files
I noticed some problems when I ran the pypi package of sphinx-execute-code with Python 3 and I saw that there is already a commit in this repository that should fix...
Hi - very cool plugin! We have a use case in [Kornia](https://github.com/kornia/kornia) where we want to plot images in the documentation. Would that possible with this plugin?
Could it be possible to support Python3 ?
Welcome to ProposedPatch's documentation! ========================================= Preliminary remark ------------------- From the `pip3 install sphinx-execute-code`, we must change the `__init__.py` file so that it is `python3`-compliant. .. code-block:: python exec(code) if sys.version[0]...
Hi @jpsenior , Thanks for the great package :-). Though I have a little input: I'd substitut lines 77-78 in the old _init_.py with lines 77-85, so that it is...
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
Hi, Thanks for writing the package! Just an FYI. When running on the read-the-docs system and on my own system (py3.6 / sphinx 1.6.7) I get the following error: ```...
There is some sort of doctree node failure in the rendered latex pdf output when I am outputting new nodes, causing latexpdf failures: ``` ! LaTeX Error: \caption outside float....