コード例 #1
0
ファイル: content.py プロジェクト: hugoallan9/aulaVirtual
    def __init__(self, course, commit_sha, reverse_func):
        # type: (Optional[Course], bytes, Optional[Callable]) -> None

        Extension.__init__(self)
        self.course = course
        self.commit_sha = commit_sha
        self.reverse_func = reverse_func
コード例 #2
0
ファイル: content.py プロジェクト: ishitatsuyuki/relate
    def __init__(self, course, commit_sha, reverse_func):
        # type: (Optional[Course], bytes, Optional[Callable]) -> None

        Extension.__init__(self)
        self.course = course
        self.commit_sha = commit_sha
        self.reverse_func = reverse_func
コード例 #3
0
ファイル: __init__.py プロジェクト: andredelft/leidenmark
 def __init__(self, **kwargs):
     self.config = {
         'strict': [
             False,
             'Toggle strict mode (omit all Markdown specific conventions)'
         ],
         'enable_paragraphs': [False, ''],
         'indent': [False, ''],
         'with_root': [False, '']
     }
     Extension.__init__(self, **kwargs)
コード例 #4
0
def load_custom_markdown_extensions(extensions_dir):
    """Return a list of custom markdown extension classes

    extensions_dir:    pathlib.Path
    """
    if not extensions_dir.exists():
        return []
    load_extensions(extensions_dir)
    return [e for e in Extension.__subclasses__()]
コード例 #5
0
ファイル: markdownify.py プロジェクト: yasir2000/iguana
 def __init__(self, project, **kwargs):
     self.project = project
     Extension.__init__(self, **kwargs)
コード例 #6
0
ファイル: images.py プロジェクト: kepler/sphinx-markdown
 def __init__(self, **kwargs):
     self.config = {'static_dir': ['_static', 'Static directory']}
     Extension.__init__(self, **kwargs)
コード例 #7
0
ファイル: content.py プロジェクト: hsingh23/courseflow
 def __init__(self, course, commit_sha):
     Extension.__init__(self)
     self.course = course
     self.commit_sha = commit_sha
コード例 #8
0
ファイル: index.py プロジェクト: elishacook/wikid
 def __init__(self, *args, **kwargs):
     Extension.__init__(self, *args, **kwargs)
コード例 #9
0
ファイル: maintemail.py プロジェクト: brimstone/maintemail
 def __init__(self):
     self.headings = []
     Extension.__init__(self)
コード例 #10
0
 def __init__(self, *args, **kw):
     Extension.__init__(self, *args, **kw)
     self.table_blocks = []
コード例 #11
0
ファイル: pelicanconf.py プロジェクト: jrosco/nuvolaplayer
 def __init__(self, step=1, *args, **kwds):
     Extension.__init__(self, *args, **kwds)
     self.step = step
コード例 #12
0
ファイル: pelicanconf.py プロジェクト: dukex/nuvolaplayer
 def __init__(self, step=1, *args, **kwds):
     Extension.__init__(self, *args, **kwds)
     self.step = step
コード例 #13
0
ファイル: summary.py プロジェクト: Dav1dde/dsbg
    def __init__(self, configs=None):
        Extension.__init__(self)

        configs = dict() if configs is None else configs
        for key, value in configs:
            self.setConfig(key, value)
コード例 #14
0
ファイル: markdown.py プロジェクト: andredelft/dh-utils
 def __init__(self, **kwargs):
     self.config = {'indent': [False, ''], 'with_root': [False, '']}
     Extension.__init__(self, **kwargs)
コード例 #15
0
 def __init__(self, *args, **kwargs):
     self.config = {
         "start_tag": ["<--COMMENTS", ""],
         "end_tag": ["COMMENTS-->", ""]
     }
     Extension.__init__(self, *args, **kwargs)
コード例 #16
0
 def __init__(self, course, commit_sha, reverse_func):
     Extension.__init__(self)
     self.course = course
     self.commit_sha = commit_sha
     self.reverse_func = reverse_func
コード例 #17
0
ファイル: content.py プロジェクト: akiyoko/relate
 def __init__(self, course, commit_sha, reverse_func):
     Extension.__init__(self)
     self.course = course
     self.commit_sha = commit_sha
     self.reverse_func = reverse_func
コード例 #18
0
 def __init__(self, **kwargs):
     self.config = {'static_dir': ['_static', 'Static directory']}
     Extension.__init__(self, **kwargs)