155 args, parms = dlg.generateParameters() |
155 args, parms = dlg.generateParameters() |
156 project.setData('DOCUMENTATIONPARMS', "ERIC4DOC", parms) |
156 project.setData('DOCUMENTATIONPARMS', "ERIC4DOC", parms) |
157 |
157 |
158 # add parameter for the eol setting |
158 # add parameter for the eol setting |
159 if not project.useSystemEol(): |
159 if not project.useSystemEol(): |
160 args.append("--eol=%s" % eolTranslation[project.getEolString()]) |
160 args.append("--eol={0}".format(eolTranslation[project.getEolString()])) |
161 |
161 |
162 # now do the call |
162 # now do the call |
163 dia = EricdocExecDialog("Ericdoc") |
163 dia = EricdocExecDialog("Ericdoc") |
164 res = dia.start(args, project.ppath) |
164 res = dia.start(args, project.ppath) |
165 if res: |
165 if res: |