Open ddtm opened 7 years ago
@ddtm Did you have any problem installing sphinxcontrib-autoprogram? I installed it (version 0.1.3) and I got an error when compiling the doc because of a p2-p3 incompatibilty of textwrap.
Exception occurred:
File "/home/bouthilx/.virtualenvs/smartdispatch/local/lib/python2.7/site-packages/sphinxcontrib/autoprogram.py", line 223, in make_rst
yield textwrap.indent(usage, ' ')
AttributeError: 'module' object has no attribute 'indent'
The full traceback has been saved in /tmp/sphinx-err-lVwo2K.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
Makefile:20: recipe for target 'html' failed
make: *** [html] Error 1
I had to pull a fresh version from bitbucket and reinstall it to be able to compile the doc.
@ddtm I know you currently are outside for an internship, but would it be possible for you the make the small fix for the PR?
@mgermain We could use sphinx-argparse instead of sphinxcontrib-autoprogram. See a comparison here.
If it does everything that sphinxcontrib-autoprogram does and is better supported I have no objection. @ddtm https://github.com/ddtm might.
On Tue, Aug 29, 2017 at 2:02 PM, Xavier Bouthillier < notifications@github.com> wrote:
@mgermain https://github.com/mgermain We could use sphinx-argparse http://sphinx-argparse.readthedocs.io/en/latest/sample.html instead of sphinxcontrib-autoprogram.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SMART-Lab/smartdispatch/pull/160#issuecomment-325745778, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBvm_hWHZzWwM_5RFvpKc_0gGpsqB4wks5sdFJSgaJpZM4MRbV0 .
Addresses #113