167 @param menu reference to the menu (QMenu) |
167 @param menu reference to the menu (QMenu) |
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. |