我目前正在 Vala 写一个图书馆。
我已经到了想从我的来源生成一些文档的地步。
valadoc
似乎是执行此操作的正确工具,但是关于如何使用它的信息并不多,联机帮助页很短。
我尝试运行它,valadoc -o doc src/*.{vala,vapi}
它给了我这些错误消息:
unixodbc.vala:21.7-21.9: error: The namespace name `Gee' could not be found
unixodbc.vala:40.9-40.27: error: The type name `Map' could not be found
unixodbc.vala:42.30-42.48: error: The type name `Map' could not be found
unixodbc.vala:40.9-40.27: error: The type name `Map' could not be found
unixodbc.vala:40.9-40.27: error: The type name `Map' could not be found
unixodbc.vala:40.9-40.27: error: The type name `Map' could not be found
unixodbc.vala:80.63-80.81: error: The type name `Map' could not be found
unixodbc.vala:98.9-98.25: error: The type name `ArrayList' could not be found
unixodbc.vala:99.3-99.19: error: The type name `ArrayList' could not be found
unixodbc.vala:110.4-110.22: error: The type name `Map' could not be found
unixodbc.vala:178.9-178.24: error: The type name `ArrayList' could not be found
unixodbc.vala:180.17-180.32: error: The type name `ArrayList' could not be found
unixodbc.vala:187.10-187.25: error: The type name `ArrayList' could not be found
Failed: 13 error(s), 0 warning(s)
似乎valadoc
也被设计为在所有依赖项上运行?
我怎样才能让它为我的图书馆工作?