Warning

This documentation is for an old version of IPython. You can find docs for newer versions here.

Module: nbconvert.postprocessors.serve

PostProcessor for serving reveal.js HTML slideshows.

2 Classes

class IPython.nbconvert.postprocessors.serve.ProxyHandler(application, request, **kwargs)

Bases: tornado.web.RequestHandler

handler the proxies requests from a local prefix to a CDN

finish_get(response)

finish the request

get(prefix, url)

proxy a request to a CDN

class IPython.nbconvert.postprocessors.serve.ServePostProcessor(**kw)

Bases: IPython.nbconvert.postprocessors.base.PostProcessorBase

Post processor designed to serve files

Proxies reveal.js requests to a CDN if no local reveal.js is present

postprocess(input)

Serve the build directory with a webserver.

1 Function

IPython.nbconvert.postprocessors.serve.main(path)

allow running this module to serve the slides