哪些工具可用于记录 jQuery 插件?

What tools are available for documenting jQuery plugins?(哪些工具可用于记录 jQuery 插件?)
本文介绍了哪些工具可用于记录 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 插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Update another component when Formik form changes(当Formik表单更改时更新另一个组件)
Formik validation isSubmitting / isValidating not getting set to true(Formik验证正在提交/isValiating未设置为True)
React Validation Max Range Using Formik(使用Formik的Reaction验证最大范围)
Validation using Yup to check string or number length(使用YUP检查字符串或数字长度的验证)
Updating initialValues prop on Formik Form does not update input value(更新Formik表单上的初始值属性不会更新输入值)
password validation with yup and formik(使用YUP和Formick进行密码验证)