Documentation appledoc中的宏或动态占位符

Documentation appledoc中的宏或动态占位符,documentation,documentation-generation,appledoc,Documentation,Documentation Generation,Appledoc,在我的iOS项目中,我在一些类的文档中添加了屏幕截图。 文档是使用生成的 基本上,对于类TheViewController,如下所示: /** * A view controller: awesome and helpful class description. * * **iPhone Screenshot:** * ![](../docs/documentation_data/ViewControllersScreenshotsGallery/screenshots/TheViewC

在我的iOS项目中,我在一些类的文档中添加了屏幕截图。 文档是使用生成的

基本上,对于类TheViewController,如下所示:

/**
 * A view controller: awesome and helpful class description.
 *
 * **iPhone Screenshot:**
 * ![](../docs/documentation_data/ViewControllersScreenshotsGallery/screenshots/TheViewController_iPhone.png)
 *
 * **iPad Screenshot:**
 * ![](../docs/documentation_data/ViewControllersScreenshotsGallery/screenshots/TheViewController_iPad.png)
 */
有没有办法把这个弄干? 宏,通过预处理headerdoc?预处理,动态占位符,脚本,提供给appledoc的选项

理想情况下,我只希望有:

/**
 * A view controller: awesome and helpful class description.
 *
 * SCREENSHOTS_FOR_IPAD_AND_IPHONE
 */

如果我甚至不必为IPAD和IPHONE添加行截图,并且只有在满足某些条件(即,如果在预期的位置找到图像)的情况下才添加内容,那么就有一个额外的点。

目前还没有这样的功能