28 version = "5.4.0" |
28 version = "5.4.0" |
29 className = "EricdocPlugin" |
29 className = "EricdocPlugin" |
30 packageName = "__core__" |
30 packageName = "__core__" |
31 shortDescription = "Show the Ericdoc dialogs." |
31 shortDescription = "Show the Ericdoc dialogs." |
32 longDescription = """This plugin implements the Ericdoc dialogs.""" \ |
32 longDescription = """This plugin implements the Ericdoc dialogs.""" \ |
33 """ Ericdoc is used to generate a source code documentation""" \ |
33 """ Ericdoc is used to generate a source code documentation""" \ |
34 """ for Python and Ruby projects.""" |
34 """ for Python and Ruby projects.""" |
35 pyqtApi = 2 |
35 pyqtApi = 2 |
36 # End-Of-Header |
36 # End-Of-Header |
37 |
37 |
38 error = "" |
38 error = "" |
39 |
39 |
168 """ |
168 """ |
169 if menuName == "Apidoc": |
169 if menuName == "Apidoc": |
170 if self.__projectAct is not None: |
170 if self.__projectAct is not None: |
171 self.__projectAct.setEnabled( |
171 self.__projectAct.setEnabled( |
172 e5App().getObject("Project").getProjectLanguage() in |
172 e5App().getObject("Project").getProjectLanguage() in |
173 ["Python", "Python2", "Python3", "Ruby"]) |
173 ["Python", "Python2", "Python3", "Ruby"]) |
174 |
174 |
175 def __doEricdoc(self): |
175 def __doEricdoc(self): |
176 """ |
176 """ |
177 Private slot to perform the eric5_doc api documentation generation. |
177 Private slot to perform the eric5_doc api documentation generation. |
178 """ |
178 """ |