How to use the hotdoc.core.extension.Extension.__init__ function in hotdoc

To help you get started, we’ve selected a few hotdoc examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hotdoc / hotdoc / hotdoc / extensions / check_since_markers / check_since_markers.py View on Github external
def __init__(self, app, project):
        Extension.__init__(self, app, project)
        self.__symbols_database = None
github hotdoc / hotdoc / hotdoc / extensions / devhelp / devhelp_extension.py View on Github external
def __init__(self, app, project):
        Extension.__init__(self, app, project)
        self.__ext_languages = defaultdict(set)
        self.__online = None
github hotdoc / hotdoc / hotdoc / extensions / gi / gi_extension.py View on Github external
def __init__(self, app, project):
        Extension.__init__(self, app, project)

        self.languages = None

        self.__all_sources = None
        self.__current_output_filename = None
        self.__class_gtype_structs = {}
        self.__default_page = DEFAULT_PAGE
        self.__relocated_symbols = set()
        self.created_symbols = set()
        self.__raw_comment_parser = GtkDocParser(self.project)
        self.__c_comment_extractor = CCommentExtractor(
            self, self.__raw_comment_parser)
github hotdoc / hotdoc / hotdoc / extensions / c / c_extension.py View on Github external
def __init__(self, app, project):
        Extension.__init__(self, app, project)
        self.project = project
        self.flags = []
        if not CExtension.connected:
            inclusions.include_signal.connect(self.__include_file_cb)
            CExtension.connected = True
        self.scanner = ClangScanner(self.app, self.project, self)
github hotdoc / hotdoc / hotdoc / extensions / license / license_extension.py View on Github external
def __init__(self, app, project):
        Extension.__init__(self, app, project)
        self.default_license = None
        self.default_code_samples_license = None
        self.default_copyright_holders = []
        self.authors_hold_copyright = True
github hotdoc / hotdoc / hotdoc / extensions / syntax_highlighting / syntax_extension.py View on Github external
def __init__(self, app, project):
        Extension.__init__(self, app, project)
        self.__asset_folders = set()
        self.activated = False
github hotdoc / hotdoc / hotdoc / extensions / git_upload / git_upload_extension.py View on Github external
def __init__(self, app, project):
        self.__local_repo = None
        self.__remote_branch = None
        self.__commit_message = None
        self.__copy_only = False
        self.__repository = None
        self.__activate = False
        Extension.__init__(self, app, project)
github hotdoc / hotdoc / hotdoc / extensions / edit_on_github / edit_on_github_extension.py View on Github external
def __init__(self, app, project):
        self.__repo = None
        self.__repo_root = None
        self.__branch = None
        Extension.__init__(self, app, project)