使用@file在Doxygen中降价 [英] Markdown in Doxygen with @file

查看:237
本文介绍了使用@file在Doxygen中降价的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用围栏代码块用doxygen和markdown记录一些源代码模板

I'm trying to document some source code templates with doxygen and markdown using fenced code blocks

~~~cpp
/// @file    filename.h
~~~

但是Doxygen似乎会处理@file命令,即使其逐字代码会导致警告

But Doxygen seems to process the @file command even though its verbatim code which results in the warning

warning: the name `filename.h' supplied as the second argument
in the \file statement is not an input file

我在做什么错了?

推荐答案

您必须转义"@"符号.改为使用\@file.

You have to escape the "@" sign. Use \@file instead.

这篇关于使用@file在Doxygen中降价的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆