我有一个需要文档的ember-cli项目,我正在使用ember-cli-yuidoc插件,这是我的yuidoc.json
文件:
{
"name": "myapp",
"description": "Small description for myapp goes here",
"version": "0.1.0",
"options": {
"paths": [
"app"
],
"exclude": "vendor",
"outdir": "docs"
},
"external": {
"data": [
{
"base": "http://emberjs.com/api/",
"json": "http://builds.emberjs.com/tags/v1.8.1/ember-docs.json"
},
{
"base": "http://emberjs.com/api/",
"json": "http://builds.emberjs.com.s3.amazonaws.com/beta/daily/20130929/ember-data-docs.json"
}
]
}
}
我想将login.js
路由链接到Ember.Route
(扩展它)。
/**
* @module route
* @extends Ember.Route
* @class login
*/
生成的文档如下所示:
上面没有链接到正确的对象,我错过了什么?
答案 0 :(得分:1)
在ember-cli-yuidoc@0.5.4中修复,请尝试。