ipython/ipython — pull request #7118 by minrk (2014-12-05 23:35:13+00:00)
Title: Dispatch to custom exporter in ScriptExporter

The logic previously implemented in the menubar javascript is moved to the ScriptExporter itself.

This removes the need for Javascript to interpret `nbconvert_exporter` metadata at all, and ensures `--to script` is consistent with `Download as...script`, etc.

A side effect is that there should be no reason to use `--to python` anymore.