zhh77 / smartdoc Goto Github PK
View Code? Open in Web Editor NEWJavascript Document & Demo builder (base on YUIDoc and bootstrap 3).
Javascript Document & Demo builder (base on YUIDoc and bootstrap 3).
1、生成文档后左侧是导航树过长,超过页面长度,在下拉点击查看类后,导航列表会自动回到最上侧;建议点击类时,能停留在该状态下,不要刷新到初始化时的状态,这样方便用户知道自己点击的类在哪里,而不需要往下拉才能看到。
2、IE中,导航树过长,没有滚动条。
设置项目名称、项目描述和导航信息为中文时,生成的文档有乱码,请问这个问题该怎么解决?
比如下列代码:
funtion getAjax(){
$.ajax();
}
怎么为getAjax写注释文档。
想给属性写,但是跟预想不一样
/**
* @Property {[String]} queryParams [查询参数]
* @example
$('#tb_table').bootstrapTable({
...
queryParams: function (params) {
var pageNumber = (params.limit + params.offset) / params.limit;
var temp = {
limit: params.limit, //页面大小
page: pageNumber, //页码
//extData: $("#orderNo").val() //自定义参数
};
return temp;
},//传递参数(*)
...
*/
能否将example部分输出为代码形式?
能否支持yuidoc各个参数的支持,特别是 server 参数,要不然每次都要手动执行一次。
比如: $.ajax这个方法,options选项有方法,有属性,还有字段,该怎么生成文档呢,开始以为用attrbute,event这种,后来才现搞错了
按照你readme里讲的配置去写反而报错了.
错误原因就是第50行这里有问题:
paths : ['input/code/ui/uicode.js','input/']
这里没有加逗号,但是这一行下面却还有同级的属性名.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.