alex-rudakov / sphinx-argparse

Sphinx extension that automatically document argparse commands and options
MIT License
49 stars 40 forks source link

Try commonmark, fall back to CommonMark. #97

Closed microe closed 6 years ago

microe commented 6 years ago

Version 0.8.0 change the name of the module to commonmark to help with pep8. Version 0.8.1 removed the old style CommonMark. This patch tries the commonmark module and falls back to loading the old style if it raises ImportError.

dpryan79 commented 6 years ago

Looks good, thanks @microe!