Пример #1
0
	def __init__(self):
		Format.__init__(self, 'devhelp')
		
		self.path = []

		if 'HOME' in os.environ:
			self.path.append(os.path.join(os.environ['HOME'], '.devhelp', 'books'))
		
		self.path.append('/usr/share/gtk-doc/html')
		self.path.append('/usr/local/share/gtk-doc/html')
Пример #2
0
    def __init__(self):
        Format.__init__(self, 'devhelp')

        self.path = []

        if 'HOME' in os.environ:
            self.path.append(
                os.path.join(os.environ['HOME'], '.devhelp', 'books'))

        self.path.append('/usr/share/gtk-doc/html')
        self.path.append('/usr/local/share/gtk-doc/html')
Пример #3
0
	def __init__(self):
		Format.__init__(self, 'generic')
		
		self.formats = {}
		
		# FIXME: Do this automatically.
		try:
			from htmlhelp.format.chm import ChmFormat
			self.register(ChmFormat())
		except ImportError:
			pass			
		from htmlhelp.format.devhelp import DevhelpFormat
		self.register(DevhelpFormat())
		from htmlhelp.format.htb import HtbFormat
		self.register(HtbFormat())
		from htmlhelp.format.mshh import MshhFormat
		self.register(MshhFormat())
		from htmlhelp.format.xml_ import XmlFormat
		self.register(XmlFormat())
Пример #4
0
    def __init__(self):
        Format.__init__(self, 'generic')

        self.formats = {}

        # FIXME: Do this automatically.
        try:
            from htmlhelp.format.chm import ChmFormat
            self.register(ChmFormat())
        except ImportError:
            pass
        from htmlhelp.format.devhelp import DevhelpFormat
        self.register(DevhelpFormat())
        from htmlhelp.format.htb import HtbFormat
        self.register(HtbFormat())
        from htmlhelp.format.mshh import MshhFormat
        self.register(MshhFormat())
        from htmlhelp.format.xml_ import XmlFormat
        self.register(XmlFormat())
Пример #5
0
	def __init__(self):
		Format.__init__(self, 'mshh')
Пример #6
0
 def __init__(self):
     Format.__init__(self, 'mshh')
Пример #7
0
 def __init__(self):
     Format.__init__(self, 'xml')
Пример #8
0
 def __init__(self):
     Format.__init__(self, 'chm')
Пример #9
0
	def __init__(self):
		Format.__init__(self, 'xml')
Пример #10
0
	def __init__(self):
		Format.__init__(self, 'chm')
Пример #11
0
	def __init__(self):
		Format.__init__(self, 'htb')