Skip to content

Commit

Permalink
Add Exporter.__init__() docstring
Browse files Browse the repository at this point in the history
... to disable the one from the base class.
  • Loading branch information
mgeier committed Feb 29, 2016
1 parent 77dc80e commit 617fa36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nbsphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ class Exporter(nbconvert.RSTExporter):
"""

def __init__(self):
"""Initialize the Exporter."""
loader = jinja2.DictLoader({'nbsphinx-rst.tpl': RST_TEMPLATE})
super(Exporter, self).__init__(
template_file='nbsphinx-rst', extra_loaders=[loader],
Expand Down

0 comments on commit 617fa36

Please sign in to comment.