##// END OF EJS Templates
Made exporter names match template names.
Made exporter names match template names.

File last commit:

r10626:2c777c5d
r10639:2b3c80d1
Show More
rst.py
31 lines | 1.1 KiB | text/x-python | PythonLexer
Jonathan Frederic
Fixed all broken references, refactored some stuff here and there,...
r10624 """TODO: Docstring
Jonathan Frederic
Finished a rough draft of the exporters.
r10588 """
#-----------------------------------------------------------------------------
# Copyright (c) 2013, the IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
# local import
import exporter
Jonathan Frederic
Fixed all broken references, refactored some stuff here and there,...
r10624 from IPython.utils.traitlets import Unicode
Jonathan Frederic
Finished a rough draft of the exporters.
r10588
#-----------------------------------------------------------------------------
# Classes
#-----------------------------------------------------------------------------
class RstExporter(exporter.Exporter):
Jonathan Frederic
Fixed all broken references, refactored some stuff here and there,...
r10624 file_extension = Unicode(
'rst', config=True,
help="Extension of the file that should be written to disk")
Jonathan Frederic
Finished a rough draft of the exporters.
r10588
Jonathan Frederic
Fixed all broken references, refactored some stuff here and there,...
r10624 template_file = Unicode(
'rst', config=True,
help="Name of the template file to use")
Jonathan Frederic
Got RST exporting to work... Sort of.
r10626