##// END OF EJS Templates
Create exceptions file to house all of the convert specific exceptions....
Create exceptions file to house all of the convert specific exceptions. Refactored 'exporter' Lots of changes....

File last commit:

r10386:6416b524
r10431:d8dd6393
Show More
rst2ipynb.py
21 lines | 757 B | text/x-python | PythonLexer
Paul Ivanov
make rst2ipynb.py executable
r6284 #!/usr/bin/env python
slojo404
first pass of docutil writer/translator for rst to ipython notebook conversion. It is based on the html4css1 writer/translator and as such has some vestigial code hanging around while I continue to figure out how everything fits together
r6232 """
A minimal front end to the Docutils Publisher, producing an ipython notebook.
"""
import docutils.readers.standalone
import docutils.parsers.rst
import docutils.core
slojo404
some pep8 cleanup
r6277 import rst2ipynblib
slojo404
first pass of docutil writer/translator for rst to ipython notebook conversion. It is based on the html4css1 writer/translator and as such has some vestigial code hanging around while I continue to figure out how everything fits together
r6232 from docutils.core import publish_cmdline
Paul Ivanov
unused import and typos
r6285 description = ('Generates an ipython notebook from standalone '
'reStructuredText source. ' +
slojo404
some pep8 cleanup
r6277 docutils.core.default_description)
slojo404
first pass of docutil writer/translator for rst to ipython notebook conversion. It is based on the html4css1 writer/translator and as such has some vestigial code hanging around while I continue to figure out how everything fits together
r6232
publish_cmdline(reader=docutils.readers.standalone.Reader(),
parser=docutils.parsers.rst.Parser(),
writer=rst2ipynblib.Writer(),
enable_exit_status=1,
usage=docutils.core.default_usage,
description=description)