159 dia = EricdocExecDialog("Ericdoc") |
159 dia = EricdocExecDialog("Ericdoc") |
160 res = dia.start(args, project.ppath) |
160 res = dia.start(args, project.ppath) |
161 if res: |
161 if res: |
162 dia.exec_() |
162 dia.exec_() |
163 |
163 |
164 outdir = parms['outputDirectory'] |
164 outdir = Utilities.toNativeSeparators(parms['outputDirectory']) |
165 if outdir == '': |
165 if outdir == '': |
166 outdir = 'doc' # that is eric5-docs default output dir |
166 outdir = 'doc' # that is eric5-docs default output dir |
167 |
167 |
168 # add it to the project data, if it isn't in already |
168 # add it to the project data, if it isn't in already |
169 outdir = project.getRelativePath(outdir) |
169 outdir = project.getRelativePath(outdir) |
171 project.pdata['OTHERS'].append(outdir) |
171 project.pdata['OTHERS'].append(outdir) |
172 project.setDirty(True) |
172 project.setDirty(True) |
173 project.othersAdded(outdir) |
173 project.othersAdded(outdir) |
174 |
174 |
175 if parms['qtHelpEnabled']: |
175 if parms['qtHelpEnabled']: |
176 outdir = parms['qtHelpOutputDirectory'] |
176 outdir = Utilities.toNativeSeparators(parms['qtHelpOutputDirectory']) |
177 if outdir == '': |
177 if outdir == '': |
178 outdir = 'help' # that is eric5-docs default QtHelp output dir |
178 outdir = 'help' # that is eric5-docs default QtHelp output dir |
179 |
179 |
180 # add it to the project data, if it isn't in already |
180 # add it to the project data, if it isn't in already |
181 outdir = project.getRelativePath(outdir) |
181 outdir = project.getRelativePath(outdir) |