Module: nbconvert.postprocessors.serve — IPython 2.3.1 documentation

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »

# 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

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »