eric6/Plugins/PluginEricdoc.py

branch
without_py2_and_pyqt4
changeset 7199
c71bd6f21748
parent 7178
43e994af5ee0
child 7229
53054eb5b15a
equal deleted inserted replaced
7198:684261ef2165 7199:c71bd6f21748
34 shortDescription = "Show the Ericdoc dialogs." 34 shortDescription = "Show the Ericdoc dialogs."
35 longDescription = """This plugin implements the Ericdoc dialogs.""" \ 35 longDescription = """This plugin implements the Ericdoc dialogs.""" \
36 """ Ericdoc is used to generate a source code documentation""" \ 36 """ Ericdoc is used to generate a source code documentation""" \
37 """ for Python and Ruby projects.""" 37 """ for Python and Ruby projects."""
38 pyqtApi = 2 38 pyqtApi = 2
39 python2Compatible = True
40 # End-Of-Header 39 # End-Of-Header
41 40
42 error = "" 41 error = ""
43 42
44 43
184 """ 183 """
185 if menuName == "Apidoc": 184 if menuName == "Apidoc":
186 if self.__projectAct is not None: 185 if self.__projectAct is not None:
187 self.__projectAct.setEnabled( 186 self.__projectAct.setEnabled(
188 e5App().getObject("Project").getProjectLanguage() in 187 e5App().getObject("Project").getProjectLanguage() in
189 ["Python", "Python2", "Python3", "Ruby", "MicroPython"]) 188 ["Python", "Python3", "Ruby", "MicroPython"])
190 189
191 def __doEricdoc(self): 190 def __doEricdoc(self):
192 """ 191 """
193 Private slot to perform the eric6_doc api documentation generation. 192 Private slot to perform the eric6_doc api documentation generation.
194 """ 193 """

eric ide

mercurial