Exemplo n.º 1
0
    def __init__(self):
        """
        Defer to Publisher init.
        """
        Publisher.__init__(self)

        self.extractors = [] # list of (transform, storage) type pairs
        """
        Transforms that are run during `process`. See Nabu for their interface.
        The stores may be left uninitialized until `prepare_extractors`.
        """
        self.source_class = None
Exemplo n.º 2
0
    def __init__(self, *args, **kwargs):
        Publisher.__init__(self, *args, **kwargs)

        # replace parser FORCELY
        from remarkdown.parser import MarkdownParser
        self.reader.parser = MarkdownParser()
Exemplo n.º 3
0
 def __init__(self, context, settings, **kwargs):
     Publisher.__init__(self, **kwargs)
     self.set_components('standalone', 'restructuredtext', 'pseudoxml')
     self.process_programmatic_settings(None, settings, None)
     self.settings.context = context