Plugins/PluginEricdoc.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3036
30c81c9e88b8
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
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 """

eric ide

mercurial