##// END OF EJS Templates
Don't move the file if it doesn't need to be moved.
Don't move the file if it doesn't need to be moved.

File last commit:

r11108:1a1aafcf
r11630:4010e9ee
Show More
fullhtml.py
39 lines | 1.2 KiB | text/x-python | PythonLexer
Jonathan Frederic
Cleanup and refactor of API, almost complete....
r10677 """
Exporter for exporting full HTML documents.
Jonathan Frederic
Made exporter names match template names.
r10639 """
#-----------------------------------------------------------------------------
# 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
#-----------------------------------------------------------------------------
Jonathan Frederic
Cleanup and refactor of API, almost complete....
r10677 from IPython.utils.traitlets import Unicode
MinRK
fix HTML capitalization in exporter classes
r11108 from .basichtml import BasicHTMLExporter
damianavila
Fixing css register for full_html exporter.
r10964 from IPython.config import Config
Jonathan Frederic
Made exporter names match template names.
r10639 #-----------------------------------------------------------------------------
# Classes
#-----------------------------------------------------------------------------
MinRK
fix HTML capitalization in exporter classes
r11108 class FullHTMLExporter(BasicHTMLExporter):
Jonathan Frederic
Cleanup and refactor of API, almost complete....
r10677 """
Exports a full HTML document.
"""
damianavila
Fixing css register for full_html exporter.
r10964
Jonathan Frederic
Made exporter names match template names.
r10639 template_file = Unicode(
'fullhtml', config=True,
damianavila
Fixing css register for full_html exporter.
r10964 help="Name of the template file to use")
@property
def default_config(self):
MinRK
fix HTML capitalization in exporter classes
r11108 c = Config({'CSSHTMLHeaderTransformer':{'enabled':True}})
c.merge(super(FullHTMLExporter,self).default_config)
Matthias BUSSONNIER
remove method calling only super
r10967 return c