1 回答
TA贡献1842条经验 获得超21个赞
我尝试使用 doxygen 1.8.18 以下代码:
## \file
# Create homogeneous probability matrix from the colors matrix
def create_probability_map1(colors_map):
"""!\f$(x_1,y_1)\f$"""
pass
# Create homogeneous probability matrix from the colors matrix
def create_probability_map2(colors_map):
"""Formula is: !\f$(x_2,y_2)\f$"""
pass
# Create homogeneous probability matrix from the colors matrix
def create_probability_map3(colors_map):
"""!\f$(x_3,y_3)\f$ is the formula"""
pass
# Create homogeneous probability matrix from the colors matrix
def create_probability_map4(colors_map):
"""!Formula is: \f$(x_4,y_4)\f$ is the formula"""
pass
使用默认的 doxygen 配置设置,这将导致:
对我来说,这看起来一切正常,文档字符串"""!
被视为 doxygen 注释,而只是"""
被视为逐字/代码(如问题中提到的链接中所示)。
添加回答
举报