File tree 3 files changed +30
-1
lines changed
3 files changed +30
-1
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " countly-apidoc" ,
3
+ "version" : " 20.11.2" ,
4
+ "description" : " Countly Api Docs" ,
5
+ "title" : " Countly Api Docs" ,
6
+ "url" : " https://api.count.ly/" ,
7
+ "template" : {
8
+ "withCompare" : true ,
9
+ "withGenerator" : false
10
+ }
11
+ }
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
3
+
4
+ usage (){
5
+ echo " " ;
6
+ echo " countly apidocs usage:" ;
7
+ echo " countly apidocs generate # regenerate documentation" ;
8
+ }
9
+ if [ -z " $1 " ]
10
+ then
11
+ usage ;
12
+ elif [ " $1 " = " generate" ]; then
13
+ echo ' yes'
14
+ echo " $DIR /../../../../plugins/"
15
+ " $DIR /../../../node_modules/.bin/apidoc" -c " $DIR /../../../apidoc.json" -f " api/.*\\ .js$" -i " $DIR /../../../plugins/" -o " $DIR /../../../frontend/express/public/apidoc/" -t " $DIR /../../../node_modules/apidoc-template/template/" ;
16
+ fi
Original file line number Diff line number Diff line change 25
25
"scripts" : {
26
26
"test" : " grunt --verbose"
27
27
},
28
- "dependencies" : {
28
+ "dependencies" : {
29
+ "apidoc" : " ^0.27.1" ,
30
+ "apidoc-template" : " github:kanwarujjaval/dash-apidoc-template" ,
29
31
"argon2" : " 0.27.0" ,
30
32
"async" : " 3.2.0" ,
31
33
"basic-auth" : " 2.0.1" ,
You can’t perform that action at this time.
0 commit comments