2013-10-06 2 views
1

현재 Vala에 도서관을 쓰고 있습니다.valadoc을 사용하는 방법?

필자의 출처에서 일부 문서를 생성하고 싶습니다.

valadoc이 작업을 수행하는 데 적합한 도구 인 것처럼 보이지만 사용 방법에 대한 정보는 많지 않으므로 맨 페이지가 매우 짧습니다.

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이뿐만 아니라 모든 종속성에서 실행되도록 설계되었다 보인다 :

나는 나에게 이러한 오류 메시지를 제공하는 valadoc -o doc src/*.{vala,vapi} 그것을 실행하려고?

내 라이브러리에서 어떻게 작동합니까?

+0

왜 downvote? –

답변

5

valac처럼 --pkg gee-0.10 (또는 사용중인 버전)을 전달해야합니다. 옵션 목록과 해당 설명은 valadoc --help과 맨 페이지를 참조하십시오. 필요한 많은 옵션은 valac에 전달할 옵션과 동일합니다.

+0

아, 나는'--pkg' 옵션을 보았지만'valac'와'valadoc'의 연관을 얻지 못했습니다. 이것은 지금 훨씬 더 의미가 있습니다. –

관련 문제