IPython Documentation

Table Of Contents

Previous topic

Module: nbconvert.postprocessors.pdf

Next topic

Module: nbconvert.preprocessors.base

This Page

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