IPython Documentation

Table Of Contents

Previous topic

Module: nbconvert.postprocessors.base

Next topic

Module: nbconvert.preprocessors.base

This Page

Note

This documentation is for a development version of IPython. There may be significant differences from the latest stable release.

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(*args, **kwargs)

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