From 8e0ecc1570a9a5b723307341675906bc820e51b0 2013-07-08 18:36:39 From: Paul Ivanov Date: 2013-07-08 18:36:39 Subject: [PATCH] print supported TARGETs for nbconvert --help --- diff --git a/IPython/nbconvert/nbconvertapp.py b/IPython/nbconvert/nbconvertapp.py index 04f20fc..45ccf8e 100755 --- a/IPython/nbconvert/nbconvertapp.py +++ b/IPython/nbconvert/nbconvertapp.py @@ -51,12 +51,20 @@ ipython nbconvert latex Untitled0.ipynb # convert ipynb to LaTeX ipython nbconvert reveal Untitled0.ipynb # convert to Reveal (HTML/JS) slideshow """ + #----------------------------------------------------------------------------- #Classes and functions #----------------------------------------------------------------------------- class NbConvertApp(Application): - """Application used to convert to and from notebook file type (*.ipynb)""" + __doc__ = """IPython notebook conversion utility + +Convert to and from notebook file type (*.ipynb) + + ipython nbconvert TARGET FILENAME + +Supported export TARGETs are: %s +""" % (" ".join(get_export_names())) description = Unicode(__doc__) examples = _examples