对于我的doxygen(doxypy)文档,我收到错误消息warning: Member constant1 (variable) of namespace <file_name> is not documented.
。我已经记录了该文件以及所有功能和类。但我也有一些额外的常量在这个文件中,我不知道如何记录和我得到的错误信息。该文件是这样的:DoxyPy - 没有记录名称空间的成员(变量)
"""\file
\brief <this is what the file contains>
\author <author>
"""
import numpy as np
constant1 = 24
constant2 = 48
def someFunction():
""" Doxygen documentation of someFunction() """
<body>
在这个例子中,我该如何记录constant1
和constant2
,从而使错误讯息消失?
请查看doxygen手册中的“Python中的注释块”段落。用“##”等文件记录 – albert