doxygen 为导入的 base-类 生成的文档中没有超链接
No hyperlinks in doxygen-generated docu for imported base-classes
(我不确定如何用英语表达这个问题。请随时编辑我的问题。)
查看下面的代码了解更多详情。
我使用默认 (doxygen -g
) doxygen 配置生成 html-文档。
此处显示的所有 class 继承树都是正确的。我可以单击 A
树中的 ABase
。但这在 B
的树中是不可能的。
我认为这是因为 B
从另一个模块 (a.py
).
导入它的基础 class
当我查看 ABase
的树时,我只看到 A
但没有 B
。
有办法解决这个问题吗?
文件a.py
# -*- coding: utf-8 -*-
"""
classes of
"""
class ABase:
"""
bla
"""
pass
class A(ABase):
"""
bla
"""
pass
文件b.py
# -*- coding: utf-8 -*-
from .a import ABase
class B(ABase):
"""
bla
"""
pass
这取决于 bug 关于解析 import
语句。这在 doxygen 1.8.7 及更高版本中已修复。
(我不确定如何用英语表达这个问题。请随时编辑我的问题。)
查看下面的代码了解更多详情。
我使用默认 (doxygen -g
) doxygen 配置生成 html-文档。
此处显示的所有 class 继承树都是正确的。我可以单击 A
树中的 ABase
。但这在 B
的树中是不可能的。
我认为这是因为 B
从另一个模块 (a.py
).
当我查看 ABase
的树时,我只看到 A
但没有 B
。
有办法解决这个问题吗?
文件a.py
# -*- coding: utf-8 -*-
"""
classes of
"""
class ABase:
"""
bla
"""
pass
class A(ABase):
"""
bla
"""
pass
文件b.py
# -*- coding: utf-8 -*-
from .a import ABase
class B(ABase):
"""
bla
"""
pass
这取决于 bug 关于解析 import
语句。这在 doxygen 1.8.7 及更高版本中已修复。