Does Doxygen @file work in markdown files?

混江龙づ霸主 提交于 2019-12-08 08:37:12

问题


I have a problem with a mix of markdown and @file in my .md files that I am processing with Doxygen 1.8.5.

If I use:

# Release Notes

@file releases.md
Release notes

@tableofcontents

@section rel_page Release History

Blah blah blah

I get nothing other than the page title (resulting from the first # line) in the HTML. For completeness, this happens with or without the 'releases.md' filename being present (it's optional according to the manual).

However, if I remove the @file line...

# Release Notes

@tableofcontents

@section rel_page Release History

Blah blah blah

It all works perfectly.

Have I got the syntax wrong, is @file not supported as part of Doxygen's markdown support, or is this a bug?

There's nothing in the Doxygen manual in either the @file or markdown sections about any constraints.

There's some similarity with my other (tumbleweed) question about markdown and groups.


回答1:


The commands listed in the section structural indicators in the manual do not work with markdown. You can get the effect of using @file as follows:

Release notes {#releases}
=============

@tableofcontents

@section rel_page Release History

Blah blah blah


来源:https://stackoverflow.com/questions/19998255/does-doxygen-file-work-in-markdown-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!