yapi/ydoc.json

101 lines
3.4 KiB
JSON
Raw Normal View History

2017-07-06 19:21:54 +08:00
{
2017-07-28 23:31:35 +08:00
"name": "YApi",
2017-07-28 21:13:51 +08:00
"dest": "static/doc",
2017-07-06 19:21:54 +08:00
"examplePath": "./exampleCode",
"defaultGrammar": "json",
"instructionsInfoPath": "", //使用说明 内容路径 (需要配合JS-Component注释的@instructions使用)
"instructionsUrlPath": "", //使用说明demo路径 (需要配合JS-Component注释的@instructions使用)
"common": { // 通用默认配置,包括主页配置等
2017-07-28 23:31:35 +08:00
"title": "YApi", //page title
2017-07-06 19:21:54 +08:00
"footer": "&copy; 2016 <a href=\"http://ued.qunar.com/ymfe/\">YMFE</a> Team. Build by <a href=\"http://ued.qunar.com/ydoc/\">ydoc</a>.", // 通用尾
"home": "YMFE", // logo
"homeUrl": "http://ued.qunar.com/ymfe/" // logourl
},
"options": {
2017-08-30 15:53:48 +08:00
"foldcode": true,
"markdown": { // 对于 markdown 编译器进行统一配置
"menuLevel": 2 //选取第几级 head 作为目录,默认 -1 没有目录
}
2017-07-06 19:21:54 +08:00
},
"pages": [{
2017-09-12 11:58:22 +08:00
"name": "index",
2017-08-31 17:08:28 +08:00
"title": "使用手册",
2017-08-31 11:55:24 +08:00
"banner": {
2017-07-28 23:31:35 +08:00
"title": "YApi",
2017-09-01 15:59:53 +08:00
"description": "高效、易用、功能强大的api管理平台旨在为开发、产品、测试人员提供更优雅的接口管理服务。"
2017-07-06 19:21:54 +08:00
},
2017-08-31 11:55:24 +08:00
"content": {
"sidebar": true,
"multi": true,
2017-09-05 11:16:06 +08:00
"index": "./doc/page/usage/getfamiliar.md",
2017-08-31 11:55:24 +08:00
"pages": [{
"name": "认识 YApi",
2017-09-05 11:16:06 +08:00
"content": "./doc/page/usage/getfamiliar.md"
},{
2017-08-31 11:55:24 +08:00
"name": "创建第一个API",
2017-09-05 11:16:06 +08:00
"content": "./doc/page/usage/quickstart.md"
2017-09-04 11:50:36 +08:00
},{
2017-09-06 15:40:45 +08:00
"name": "管理分组与项目",
"content": "./doc/page/usage/manage.md"
},{
"name": "项目操作",
2017-09-05 11:16:06 +08:00
"content": "./doc/page/usage/project.md"
},{
2017-09-06 15:40:45 +08:00
"name": "接口操作",
2017-09-05 11:16:06 +08:00
"content": "./doc/page/usage/api.md"
2017-09-04 11:50:36 +08:00
},{
2017-08-31 11:55:24 +08:00
"name": "使用mock功能",
2017-09-05 11:16:06 +08:00
"content": "./doc/page/usage/mock.md"
},{
2017-09-04 11:50:36 +08:00
"name": "使用测试集",
2017-09-05 11:16:06 +08:00
"content": "./doc/page/usage/case.md"
2017-09-04 11:50:36 +08:00
}
2017-09-01 15:59:53 +08:00
]
2017-08-31 11:55:24 +08:00
}
2017-08-31 17:08:28 +08:00
},
2017-09-07 18:44:50 +08:00
// {
// "name": "manage",
// "title": "管理学院",
// "banner": {
// "title": "管理学院",
// "description": "超级管理员、分组/项目组长的学院。"
// },
// "content": {
// "sidebar": true,
// "multi": true,
// "index": "./doc/page/manage/intro.md",
// "pages": [{
// "name": "介绍",
// "content": "./doc/page/manage/intro.md"
// }, {
// "name": "部署",
// "content": "./doc/page/manage/build.md"
// }, {
// "name": "超管职责",
// "content": "./doc/page/manage/admin.md"
// }, {
// "name": "版本升级",
// "content": "./doc/page/manage/update.md"
// }]
// }
// },
2017-08-31 17:08:28 +08:00
{
2017-07-06 19:21:54 +08:00
"name": "api",
2017-07-28 23:31:35 +08:00
"title": "",
2017-07-06 19:21:54 +08:00
"banner": {
"title": "api",
"description": "api文档"
},
"content": "./server/controllers/*.js",
"options": {
2017-08-31 17:08:28 +08:00
"type": "interface",
"source": true,
2017-08-11 16:16:16 +08:00
"categories":["group","user","project", "interface","follow"]
2017-07-06 19:21:54 +08:00
}
2017-08-21 21:18:29 +08:00
}],
"resources": {
2017-08-31 17:08:28 +08:00
"images": "./doc/images",
"styles": "./doc/styles"
2017-08-21 21:18:29 +08:00
}
2017-07-06 19:21:54 +08:00
}