Exemplo n.º 1
0
 def __init__(self, env, options):
     Type.__init__(self, env, options)
     self.extra_params = {
         'doctitle_xform': False,
         'initial_header_level': '2',
         'syntax_highlight': 'short'}
     self.extra_params.update(options)
Exemplo n.º 2
0
 def __init__(self, env, options):
     Type.__init__(self, env, options)
     self.source = ChoiceSource(env, options)
Exemplo n.º 3
0
 def __init__(self, env, options):
     Type.__init__(self, env, options)
     self.flow_blocks = [
         x.strip() for x in options.get("flow_blocks", "").split(",") if x.strip()
     ] or None
Exemplo n.º 4
0
Arquivo: multi.py Projeto: jab/lektor
 def __init__(self, env, options):
     Type.__init__(self, env, options)
     self.source = ChoiceSource(env, options)
Exemplo n.º 5
0
 def __init__(self, env, options):
     Type.__init__(self, env, options)
     self.flow_blocks = [
         x.strip() for x in options.get('flow_blocks', '').split(',')
         if x.strip()] or None
Exemplo n.º 6
0
 def __init__(self, env, options):
     Type.__init__(self, env, options)
     self.flow_blocks = [
         x.strip()
         for x in options.get('flow_blocks', '').split(',') if x.strip()
     ] or None
Exemplo n.º 7
0
Arquivo: flow.py Projeto: jab/lektor
 def __init__(self, env, options):
     Type.__init__(self, env, options)
Exemplo n.º 8
0
 def __init__(self, env, options):
     Type.__init__(self, env, options)
     self.flow_blocks = [x.strip() for x in options.get("flow_blocks", "").split(",") if x.strip()] or None
 def __init__(self, env, options, client_id, client_secret, access_token=None):
     Type.__init__(self, env, options)
     self.client_id = client_id
     self.client_secret = client_secret
     self.access_token = access_token
Exemplo n.º 10
0
Arquivo: flow.py Projeto: jab/lektor
 def __init__(self, env, options):
     Type.__init__(self, env, options)