简体   繁体   English

颤振的 Doxygen

[英]Doxygen With Flutter

dose any one used doxygen to generate a Documentation for flutter project before , I know about dartdoc extension , but I need to generate it with doxygen format , I found someone generated a doc for main files in flutter , but I just searched too much to how i do it , and never found it , I wish someone could help ,以前任何人使用 doxygen 为颤振项目生成文档,我知道 dartdoc 扩展,但我需要用 doxygen 格式生成它,我发现有人为颤振中的主文件生成了一个文档,但我只是搜索了太多关于如何我做了,一直没找到,希望有人能帮忙

I tried with C++ and Java too , and nothing goes我也尝试过使用 C++ 和 Java,但没有任何结果在此处输入图像描述

To be able to see results of files with extensions that are not directly supported by doxygen, but contain code in a language supported by doxygen a number of settings have to be set (in this case we have Flutter dart files that are actually Java / Java like files):为了能够看到具有 doxygen 不直接支持的扩展名但包含 doxygen 支持的语言的代码的文件的结果,必须设置许多设置(在这种情况下,我们有 Flutter dart 文件实际上是 Java / Java像文件):

INPUT_FILTERS += *.dart
EXTENSION_<APPING = dart=java

When files are in a different directories or in subdirectories it is good to look at the settings:当文件位于不同的目录或子目录中时,最好查看设置:

INPUT = 
RECURSIVE=YES

as well.也是。

In case aa language is not supported directly but can be transformed in a language that is supported by doxygen it is good to look at the doxygen filter possibilities as well (settings like INPUT_FILTER etc.).如果不直接支持一种语言,但可以将其转换为 doxygen 支持的语言,那么最好查看 doxygen 过滤器的可能性(如INPUT_FILTER等设置)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM