What tools are available for documenting jQuery plugins?(哪些工具可用于记录 jQuery 插件?)
问题描述
我最近开始创建一些 jQuery 插件,我发现很难使用我找到的文档生成工具来记录它们.我试过了:JSDoc, JSDoc-toolkit、JGrouse 和一个基于网络的工具还.我最头疼的是我的插件被编码为一个大的匿名函数,我无法让工具识别我在做什么,或者完全忽略它,让我输入方法的文档标签、对象等.
I've recently started creating some jQuery plugins and I'm finding it difficult to document them with the documentation generating tools that I've found. I've tried: JSDoc, JSDoc-toolkit, JGrouse and a web-based tool also. My biggest headache is that my plug-ins are coded as one big anonymous function, and I'm having trouble getting the tools to either recognize what I'm doing, or ignore it altogether and let me type in the documentation tags for the methods, objects, etc..
还有其他工具可以帮助记录 jQuery 插件吗?
Are there any other tools that might help with documenting jQuery plugins?
谢谢,桑德罗
推荐答案
你看过Natural Docs?它可能对 JavaScript 没有太多明确的支持,但无论如何它都做得很好.当然你可以欺骗它让它不理解代码,但如果你玩得很好,它可能是一个地狱般的工具.
Have you had a look at Natural Docs? It might not have very much of explicit support for JavaScript, however it does a quite good job anyway. Of course you can trick it not to understand the code, but if you play nice with it, it can be a hell of a tool.
这篇关于哪些工具可用于记录 jQuery 插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:哪些工具可用于记录 jQuery 插件?


- 在不使用循环的情况下查找数字数组中的一项 2022-01-01
- 使用 iframe URL 的 jQuery UI 对话框 2022-01-01
- 如何显示带有换行符的文本标签? 2022-01-01
- 如何向 ipc 渲染器发送添加回调 2022-01-01
- 如何调试 CSS/Javascript 悬停问题 2022-01-01
- 为什么悬停在委托事件处理程序中不起作用? 2022-01-01
- 是否可以将标志传递给 Gulp 以使其以不同的方式 2022-01-01
- 为什么我的页面无法在 Github 上加载? 2022-01-01
- 我不能使用 json 使用 react 向我的 web api 发出 Post 请求 2022-01-01
- 从原点悬停时触发 translateY() 2022-01-01