gpt4 book ai didi

c - 我应该使用什么文档工具来处理这个问题?

转载 作者:行者123 更新时间:2023-12-04 09:16:47 26 4
gpt4 key购买 nike

我有一个随 atmel 库 (at91lib) 分发的文件,如下所示:

/**
\page "AT91 USB device framework"

AT91 USB %device framework is a device-side USB framework. It enables rapid
development of USB-compliant class drivers such as the Mass Storage Device
(MSD) or the Communication Device Class (CDC) and etc.

This page shows the index to describe the AT91 USB %device framework.
- USBD: USB Device

-# "USB Device Framework Architecture"
-# "USB Device Framework Description"
-# "Standard USB Structures"
-# "USBD API"

[etc]
*/

/**
\page "USB Device Framework Architecture"

!!!Framework Architecture

The following three-tiered structure is used:
- A #hardware layer# which performs low-level operations on the USB controller.
- The #USB API# offers hardware-independent methods and structures.
- The #application layer#, made up of a USB class driver and the user
application.
*/

显然,这是某种用于记录目录的文档注释系统。它还清楚地生成 HTML 输出,因为该文件在某些​​时候包含 HTML 图像映射。

但是,!!! 看起来不像 doxygen,用于链接的 # 也不像。谁能确定将其处理为 HTML 所需的文档工具?

最佳答案

DoxyS

如果去 rendered version of the documentation并检查 HTML 源代码(右键单击 -> 查看页面源代码),可以在 HTML 顶部附近看到几个链接的 Javascript 文件。

<HTML>
<HEAD>
<TITLE>../../public_html/softpack-1.5/at91sam7x-ek - at91lib</TITLE>
<script type="text/javascript" src="../../common/js.js" language="JavaScript"></script>
<script type="text/javascript" src="leftmenu.js" language="JavaScript"></script>
<script type="text/javascript">

文件../../common/js.js本身包含以下内容:

function Body5()
{
document.write("</div>\n");
document.write("</TD><TD class=\"sideIndent\"><img src=\"");
document.write(relPathToCommmon);
document.write("dot.gif\" class=\"sideIndent\"></TD></TR></table>\n");
document.write("</div>\n");
document.write("<div class=\"doxygenFooter\">\n");
document.write("<table cellspacing=0 cellpadding=0 border=0 class=\"width\"><TR><TD align=right>\n");
document.write("<a href=\"http://www.doxys.dk\" class=\"generatedDoxygen\" onmouseover=\"overLibGeneratedByDoxyS();return overlib('Generated by DoxyS 0.97<br>Wed Apr 16 16:50 2008');\" onmouseout=\"return nd();\">Generated by DoxyS</A>\n");
document.write("</TD><TD class=\"sideIndent\"><img src=\"");
document.write(relPathToCommmon);
document.write("dot.gif\" class=\"sideIndent\"></TD></TR></table>\n");
document.write("</div>\n");
document.write("</td></tr>\n");
document.write("</table>\n");
}

请特别注意链接 http://www.doxys.dk 和字符串 Generated by DoxyS 0.97<br>Wed Apr 16 16:50 2008 .

关于c - 我应该使用什么文档工具来处理这个问题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31143912/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com