【发布时间】:2016-08-18 11:41:47
【问题描述】:
我的 doxygen (doxypy) 文档收到错误消息 warning: Member constant1 (variable) of namespace <file_name> is not documented.。我已经记录了该文件以及所有函数和类。但是我在这个文件中还有一些额外的常量,我不知道如何记录,我收到了错误消息。该文件如下所示:
"""\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 中的注释块”段落。用“##”等记录它。