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