Package common :: Module rst_xhtml_generator :: Class HTMLGenerator
[hide private]
[frames] | no frames]

Class HTMLGenerator

source code

Really simple HTMLGenerator starting from publish_parts

It reuses the docutils.core.Publisher class, which means it is not threadsafe.

Instance Methods [hide private]
 
__init__(self, settings_spec=None, settings_overrides={'halt_level': 5, 'report_level': 5}, config_section='general') source code
 
create_xhtml(self, text, destination=None, destination_path=None, enable_exit_status=None)
Create xhtml for a fragment of IM dialog.
source code
Method Details [hide private]

__init__(self, settings_spec=None, settings_overrides={'halt_level': 5, 'report_level': 5}, config_section='general')
(Constructor)

source code 

create_xhtml(self, text, destination=None, destination_path=None, enable_exit_status=None)

source code 
Create xhtml for a fragment of IM dialog. We can use the source_name to store info about the message