删除的doxygens \\ copydoc点? [英] Remove the dot of doxygens \copydoc?

查看:114
本文介绍了删除的doxygens \\ copydoc点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有doxgens copydoc一个问题。示例

i have a problem with doxgens copydoc. Example

file1.h

/*!
 * \file
 * FileOne
 */

file2.h

file2.h

/*!
 * \file
 * This is similar to the \copydoc file1.h file.
 */

文件传真说:

这是类似的。

FileOne。文件中。

FileOne. file.

我不希望这点(和换行)补充说。我怎样才能删除它?

I dont want this dot (and newline) added. How can i remove it?

究其原因,我希望它从文件中读取一个组名。如果它增加了一个点,该小组没有找到。新的例子:

The reason is, i want it to read a groupname from that file. If it adds a dot, the group is not found. New Example:

file1.h

/*!
 * \defgroup FileOne
 */
/*!
 * \file
 * FileOne
 */

file2.h

file2.h

/*!
 * \file
 * \ingroup \copydoc file1.h
 */

文件传真说:

\\

该文件不被添加到组,因为它进入 FileOne。 \\内群体命令。

The file is not added to the group, because it enters FileOne. to the \ingroup command.

推荐答案

这是不是 \\ copydoc 是。你想用它来代替名称的文件,但你实际上做的是替换的文件的一个文件,这是一个段落。

This is not what \copydoc is for. You're trying to use it to substitute a "name" for a file, but what you're actually doing is substituting the documentation for a file, which is a paragraph.

我想你应该将文件名—用正确的设置,的Doxygen将自动生成一个链接到该文件的文件

I think you should just name the file — with the correct settings, Doxygen will auto-generate a link to that file's documentation.

/*!
 * \file
 * This is similar to the file1.h file.
 */

这篇关于删除的doxygens \\ copydoc点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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