##// END OF EJS Templates
RST class capitalization
MinRK -
Show More
@@ -6,6 +6,6 b' from .reveal import RevealExporter'
6 from .latex import LatexExporter
6 from .latex import LatexExporter
7 from .markdown import MarkdownExporter
7 from .markdown import MarkdownExporter
8 from .python import PythonExporter
8 from .python import PythonExporter
9 from .rst import RstExporter
9 from .rst import RSTExporter
10 from .sphinx_howto import SphinxHowtoExporter
10 from .sphinx_howto import SphinxHowtoExporter
11 from .sphinx_manual import SphinxManualExporter
11 from .sphinx_manual import SphinxManualExporter
@@ -25,7 +25,7 b' from .latex import LatexExporter'
25 from .markdown import MarkdownExporter
25 from .markdown import MarkdownExporter
26 from .python import PythonExporter
26 from .python import PythonExporter
27 from .reveal import RevealExporter
27 from .reveal import RevealExporter
28 from .rst import RstExporter
28 from .rst import RSTExporter
29 from .sphinx_howto import SphinxHowtoExporter
29 from .sphinx_howto import SphinxHowtoExporter
30 from .sphinx_manual import SphinxManualExporter
30 from .sphinx_manual import SphinxManualExporter
31
31
@@ -184,7 +184,7 b' def export_python(nb, **kw):'
184 @DocDecorator
184 @DocDecorator
185 def export_reveal(nb, **kw):
185 def export_reveal(nb, **kw):
186 """
186 """
187 Export a notebook object to Reveal
187 Export a notebook object to a Reveal.js presentation
188 """
188 """
189 return export(RevealExporter, nb, **kw)
189 return export(RevealExporter, nb, **kw)
190
190
@@ -192,9 +192,9 b' def export_reveal(nb, **kw):'
192 @DocDecorator
192 @DocDecorator
193 def export_rst(nb, **kw):
193 def export_rst(nb, **kw):
194 """
194 """
195 Export a notebook object to RST
195 Export a notebook object to reStructuredText
196 """
196 """
197 return export(RstExporter, nb, **kw)
197 return export(RSTExporter, nb, **kw)
198
198
199
199
200 @DocDecorator
200 @DocDecorator
@@ -22,7 +22,7 b' from .exporter import Exporter'
22 # Classes
22 # Classes
23 #-----------------------------------------------------------------------------
23 #-----------------------------------------------------------------------------
24
24
25 class RstExporter(Exporter):
25 class RSTExporter(Exporter):
26 """
26 """
27 Exports restructured text documents.
27 Exports restructured text documents.
28 """
28 """
@@ -38,5 +38,5 b' class RstExporter(Exporter):'
38 @property
38 @property
39 def default_config(self):
39 def default_config(self):
40 c = Config({'ExtractFigureTransformer':{'enabled':True}})
40 c = Config({'ExtractFigureTransformer':{'enabled':True}})
41 c.merge(super(RstExporter,self).default_config)
41 c.merge(super(RSTExporter,self).default_config)
42 return c
42 return c
General Comments 0
You need to be logged in to leave comments. Login now