python 3.x - How do I output Sphinx log to a text file -


i using sphinx handle documentation python 3 application. use batch file create sphinx docs using apidoc command:

sphinx-apidoc -f -o docs_sphinx %~dp0 cd docs_sphinx make html 

basically, want redirect output sphinx sends console text file. have tried redirecting 1 , 2 streams text file... missing sphinx stuff:

dir 1> results.txt 2> results_err.txt 

adding batch file produces output but, again, not sphinx messages. there option sphinx send messages logfile without messing batch command? if not, way go?


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -