12 import os |
12 import os |
13 import shutil |
13 import shutil |
14 import subprocess # secok |
14 import subprocess # secok |
15 |
15 |
16 from Utilities import ( |
16 from Utilities import ( |
17 joinext, relpath, html_encode, getQtBinariesPath, generateQtToolName |
17 joinext, html_encode, getQtBinariesPath, generateQtToolName |
18 ) |
18 ) |
19 |
19 |
20 HelpCollection = r"""<?xml version="1.0" encoding="utf-8" ?> |
20 HelpCollection = r"""<?xml version="1.0" encoding="utf-8" ?> |
21 <QHelpCollectionProject version="1.0"> |
21 <QHelpCollectionProject version="1.0"> |
22 <docFiles> |
22 <docFiles> |
83 self.virtualFolder = virtualFolder |
83 self.virtualFolder = virtualFolder |
84 self.filterName = filterName |
84 self.filterName = filterName |
85 self.filterAttributes = ( |
85 self.filterAttributes = ( |
86 filterAttributes and filterAttributes.split(':') or [] |
86 filterAttributes and filterAttributes.split(':') or [] |
87 ) |
87 ) |
88 self.relPath = relpath(self.htmlDir, self.outputDir) |
88 self.relPath = os.path.relpath(self.htmlDir, self.outputDir) |
89 self.title = title |
89 self.title = title |
90 self.createCollection = createCollection |
90 self.createCollection = createCollection |
91 |
91 |
92 self.packages = { |
92 self.packages = { |
93 "00index": { |
93 "00index": { |