From 7a7fabdb6b073373d2344fbd2116dd6712781a45 2013-08-02 20:58:44 From: damianavila Date: 2013-08-02 20:58:44 Subject: [PATCH] Fixing names for aliases. --- diff --git a/IPython/nbconvert/nbconvertapp.py b/IPython/nbconvert/nbconvertapp.py index 028f09f..78dcae3 100755 --- a/IPython/nbconvert/nbconvertapp.py +++ b/IPython/nbconvert/nbconvertapp.py @@ -63,8 +63,8 @@ nbconvert_aliases.update({ 'writer' : 'NbConvertApp.writer_class', 'post': 'NbConvertApp.post_processor_class', 'output': 'NbConvertApp.output_base', - 'local': 'RevealHelpTransformer.url_prefix', - 'notes': 'RevealHelpTransformer.speaker_notes' + 'offline-slides': 'RevealHelpTransformer.url_prefix', + 'slide-notes': 'RevealHelpTransformer.speaker_notes' }) nbconvert_flags = {} diff --git a/docs/source/interactive/nbconvert.rst b/docs/source/interactive/nbconvert.rst index 01422d0..df5b62c 100644 --- a/docs/source/interactive/nbconvert.rst +++ b/docs/source/interactive/nbconvert.rst @@ -64,10 +64,10 @@ The currently supported export formats are: It must be served by an HTTP server. The easiest way to get this is to add ``--post serve`` on the command-line. If you want to use the speaker notes plugin, just add - ``--notes True`` on the command-line. + ``--slide-notes True`` on the command-line. For low connectivity environments, you can use a local copy of the reveal.js library, - just add ``--local reveal.js`` on the command-line, and do not forget to move your - downloaded ``reveal.js`` library to the same folder where your slides are located. + just add ``--offline-slides reveal.js`` on the command-line, and do not forget to move + your downloaded ``reveal.js`` library to the same folder where your slides are located. * ``--to markdown``