Closed miili closed 5 years ago
Hi there,
thanks for maintaining this useful plugin!
In Sphinx 2+ Sphinx object has no logging interface and
Sphinx
app.warn('Unexpected return code {0} from command {1}'.format( returncode, command))
in https://github.com/NextThought/sphinxcontrib-programoutput/blob/master/src/sphinxcontrib/programoutput/__init__.py#L223 fails.
The new approach is documented here https://www.sphinx-doc.org/en/master/extdev/logging.html
Best, M
Hi there,
thanks for maintaining this useful plugin!
In Sphinx 2+
Sphinx
object has no logging interface andin https://github.com/NextThought/sphinxcontrib-programoutput/blob/master/src/sphinxcontrib/programoutput/__init__.py#L223 fails.
The new approach is documented here https://www.sphinx-doc.org/en/master/extdev/logging.html
Best, M