23 |
23 |
24 from eric5config import getConfig |
24 from eric5config import getConfig |
25 |
25 |
26 class EricdocConfigDialog(QDialog, Ui_EricdocConfigDialog): |
26 class EricdocConfigDialog(QDialog, Ui_EricdocConfigDialog): |
27 """ |
27 """ |
28 Class implementing a dialog to enter the parameters for eric5-doc. |
28 Class implementing a dialog to enter the parameters for eric5_doc. |
29 """ |
29 """ |
30 def __init__(self, project, parms = None, parent = None): |
30 def __init__(self, project, parms = None, parent = None): |
31 """ |
31 """ |
32 Constructor |
32 Constructor |
33 |
33 |
154 parms = {} |
154 parms = {} |
155 args = [] |
155 args = [] |
156 |
156 |
157 # 1. the program name |
157 # 1. the program name |
158 args.append(sys.executable) |
158 args.append(sys.executable) |
159 args.append(Utilities.normabsjoinpath(getConfig('ericDir'), "eric5-doc.py")) |
159 args.append(Utilities.normabsjoinpath(getConfig('ericDir'), "eric5_doc.py")) |
160 |
160 |
161 # 2. the commandline options |
161 # 2. the commandline options |
162 # 2a. general commandline options |
162 # 2a. general commandline options |
163 if self.parameters['outputDirectory'] != self.defaults['outputDirectory']: |
163 if self.parameters['outputDirectory'] != self.defaults['outputDirectory']: |
164 parms['outputDirectory'] = Utilities.fromNativeSeparators( |
164 parms['outputDirectory'] = Utilities.fromNativeSeparators( |