From afa811f711fbb4a99441e07189824a09a7b45367 2014-01-07 20:23:56 From: Thomas Kluyver Date: 2014-01-07 20:23:56 Subject: [PATCH] Merge pull request #4751 from damianavila/doc_post_serve Added --post-serve explanation into the nbconvert docs. --- diff --git a/docs/source/interactive/nbconvert.rst b/docs/source/interactive/nbconvert.rst index 1789a62..d4be563 100644 --- a/docs/source/interactive/nbconvert.rst +++ b/docs/source/interactive/nbconvert.rst @@ -61,8 +61,12 @@ The currently supported export formats are: * ``--to slides`` This generates a Reveal.js HTML slideshow. - It must be served by an HTTP server. The easiest way to do this is adding - ``--post serve`` on the command-line. + It must be served by an HTTP server. The easiest way to do this is adding + ``--post serve`` on the command-line. The ``serve`` post-processor proxies + Reveal.js requests to a CDN if no local Reveal.js library is present. + To make slides that don't require an internet connection, just place the + Reveal.js library in the same directory where your_talk.slides.html is located, + or point to another directory using the ``--reveal-prefix`` alias. * ``--to markdown`` @@ -224,4 +228,3 @@ The corresponding Python script is:: Note that indeed the output of the code cell, which is present in the JSON container, has been removed in the ``.py`` script. -