sphinx-autorun
sphinx-autorun copied to clipboard
Sphinx extension to execute the code output it into a document.
With python 3.8 and unicode output mode ``` autorun_languages = {} autorun_languages['pycon_output_encoding'] = 'UTF-8' ``` I get lots of error messages like ``` ...opt/miniconda3/envs/dev/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported...
Using sphinx-autorun with python 3.8 I get this warning: ``` /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used self.stdin = io.open(p2cwrite,...
It seems the extension does not inform Sphinx if it's safe for parallel reading or not at https://github.com/WhyNotHugo/sphinx-autorun/blob/master/sphinx_autorun/__init__.py#L90 This can be communicated returning a dict in the `setup` function, like...
Using heredocs would be great -- so we could enlist input for commands for processing.
First off, thanks for maintaining this package. Wonderful work! I have docs that have code example interspersed with text. It might look like this: ``` Subsetting Ranges ================= There are...
When an exception is thrown, the code is not shown at all. This occurs in `.. runblock:: pycon`blocks. For example ``` .. runblock:: pycon >>> s = (1, 2, 3)...
I just started trying this as some of the commands are reading changing data however I noticed the output is formatted as a tuple: ```python .. runblock:: pycon >>> print("Hello")...
The lines in the output of `.. runblock:: pycon` are too small. When use with the `:linenos:` flag, the line numbers don't match code lines. For example ``` .. runblock::...
First off, thank you kindly for updating the autorun project! Coming from Rmarkdown, I couldn't fathom why this feature wasn't standard in Sphinx. The README mentions that conf.py can be...
Publish the docs on RTD.