gpt4 book ai didi

带有节点的 jsdoc 生成空的 index.html

转载 作者:行者123 更新时间:2023-12-01 10:38:00 26 4
gpt4 key购买 nike

我使用以下命令从javascript文件生成html。

$> jsdoc --debug jquery.js 
$> open out/index.html

命令的输出
DEBUG: JSDoc 3.3.2 (Sat, 13 Jun 2015 22:20:28 GMT)
DEBUG: Environment info: {"env":{"conf":{"tags":{"allowUnknownTags":true,"dictionaries":["jsdoc","closure"]},"templates":{"monospaceLinks":false,"cleverLinks":true},"source":{"includePattern":".+\\.js(doc)?$","excludePattern":"(^|\\/|\\\\)_"},"plugins":[]},"opts":{"_":["jquery.js"],"configure":"conf.json","debug":true,"destination":"./out/","encoding":"utf8"}}}
DEBUG: Parsing source files: ["/Users/darpandagha/jquery.js"]
Parsing /Users/darpandagha/jquery.js ...complete.
DEBUG: Finished parsing source files.
DEBUG: Indexing doclets...
DEBUG: Adding inherited symbols, mixins, and interface implementations...
DEBUG: Adding borrowed doclets...
DEBUG: Post-processing complete.
Generating output files...complete.
Finished running in 2.76 seconds.

最佳答案

在最后一个 jsdoc 版本中,您可以通过在命令行上使用“-R README.md”并将您想要的内容放入该文件中来指定索引内容。
我在DocStrap documentation中找到了这个。

关于带有节点的 jsdoc 生成空的 index.html,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32484964/

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