swift - Swift:Swift doc github 文档工具 - 无法找到正确的路径
问题描述
我正在尝试为我的 Swift 项目安装和使用以下自动生成文档工具:
https://github.com/SwiftDocOrg/swift-doc
它安装正确,但是当我尝试生成时,我收到以下消息:
No public API symbols were found at the specified path. No output was written.
我的项目路径如下:
Desktop/Development/GitClones/MyProjectFolder/
所以我试过这个:
swift doc generate /Desktop/Development/GitClones/MyProjectFolder --module-name MyProject
我从构建设置中获得的模块名称。
不完全确定这是正确的论坛,但我没有得到开发人员的任何回复,我想知道这里是否有人尝试过使用这个工具。
解决方案
我关键决定了这个案子:
--minimum-access-level 应包含的符号的最低访问级别。(默认:公开)
推荐阅读
- javascript - 使用 jquery 设置复选框时遇到问题
- sql - 分配给变量的 SQL 存储过程参数
- spring-boot - 如何使用maven build在spring boot中生成fat jar期间排除资源文件夹?
- javascript - RegEx 不适用于替换 JavaScript 方法
- assembly - 6502 (Commodore 64) 中的精灵指针
- kubernetes - 添加多个外部服务时,Egress 网关无法正常工作
- python - new_or_get 和 get_or_create 是一样的吗?
- android - 在设备上运行 React Native 时出现问题
- leaflet - 如何在 crs.simple 中测量距离?
- sql - 使用具有较高偏移量的 LAG 函数