无法使用 python 运行 doxygen
我正在尝试通过运行以下 Python 文件来学习 doxygen。 对 C++ 文件的类似尝试成功了,但是我无法在生成的 main.html 文件中生成任何内容。它只在 html 页面中将“主页”和“文件列表”显示为两个链接。
我做错了什么?
""" sample docstring"""
## @package stuff
# @author me
# Description
#
# Some more description
## A class that does whatever
class whatever:
## A method that does stuff
def dostuff(self):
print 'here'
def show():
print 'showing'
show()
I am trying to learn doxygen by running following Python file.
A similar attempt with c++ file was successful, however i am not able to generate any content in main.html file generated. it is only showing "main page" and "file list" as two links in html page.
What am i doing wrong?
""" sample docstring"""
## @package stuff
# @author me
# Description
#
# Some more description
## A class that does whatever
class whatever:
## A method that does stuff
def dostuff(self):
print 'here'
def show():
print 'showing'
show()
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Doxygen 在版本 1.4.4 中添加了对 Python 的支持 (http://www.doxygen.nl/ changelog_1.4.html)。您需要更新到更新的版本才能从 Python 代码生成 doxygen 文档。
Doxygen support for Python was added in version 1.4.4 (http://www.doxygen.nl/changelog_1.4.html). You'll need to update to a more recent version in order to generate doxygen documentation from your Python code.
你应该尝试这个:
MyClass.E = variable
也就是说,如果我没有理解你的意思错误的话。you should try this:
MyClass.E = variable
that is, if I haven't got your meaning wrong.