示例#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
文件: mshh.py 项目: vsajip/htmlhelp
 def __init__(self):
     Format.__init__(self, 'mshh')
示例#7
0
文件: xml_.py 项目: vsajip/htmlhelp
 def __init__(self):
     Format.__init__(self, 'xml')
示例#8
0
文件: chm.py 项目: vsajip/htmlhelp
 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')