-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jsdoc output #3910
jsdoc output #3910
Changes from all commits
41bc6da
9dfb56f
b1c092f
06e1a5c
1ee8671
116bc29
8b993ec
c5c19c3
7d065eb
44a24b9
856a572
700706b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#resizer, | ||
footer { | ||
background-color: #ECEEF1; | ||
color: #868688; | ||
padding: 3px 10px; | ||
} | ||
|
||
.footer-text { | ||
padding: 3px; | ||
display: block; | ||
} | ||
|
||
footer .copyright { | ||
float: left; | ||
} | ||
|
||
footer .other-links { | ||
margin: 0; | ||
padding: 0; | ||
float: right; | ||
} | ||
|
||
footer .other-links li { | ||
display: inline; | ||
} | ||
|
||
footer .logo { | ||
display: none; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,10 +25,12 @@ | |
"start": "grunt dev", | ||
"test": "grunt test", | ||
"docs": "npm run docs:lint && npm run docs:api", | ||
"docs:api": "jsdoc -r src/js -d docs/api -c .jsdoc.json", | ||
"jsdoc": "jsdoc", | ||
"docs:api": "jsdoc -c .jsdoc.json", | ||
"docs:lint": "remark -- './**/*.md'", | ||
"docs:fix": "remark --output -- './**/*.md'", | ||
"babel": "babel src/js -d es5" | ||
"babel": "babel src/js -d es5", | ||
"prepublish": "not-in-install && npm run docs:api || in-install" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If I understand this right this script will only build the docs There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yup, that's what this does. |
||
}, | ||
"repository": { | ||
"type": "git", | ||
|
@@ -87,6 +89,7 @@ | |
"grunt-version": "~1.1.1", | ||
"grunt-videojs-languages": "0.0.4", | ||
"grunt-zip": "0.17.1", | ||
"in-publish": "^2.0.0", | ||
"istanbul": "^0.4.5", | ||
"jsdoc": "^3.4.2", | ||
"karma": "^1.2.0", | ||
|
@@ -114,6 +117,7 @@ | |
"shelljs": "^0.7.5", | ||
"sinon": "^1.16.1", | ||
"time-grunt": "^1.1.1", | ||
"tui-jsdoc-template": "^1.1.0", | ||
"uglify-js": "~2.7.3", | ||
"videojs-doc-generator": "0.0.1", | ||
"videojs-standard": "^6.0.1", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will only cause "There are no input files to process.", maybe we should skip this script?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is like the
grunt
task above, it's so that you can more easily runjsdoc
commands on the cli without installing it globally ifjsdoc -c .jsdoc.json
doesn't suit what you're trying to do.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems outside of the scope of what scripts should do. I think its easy enough to do
./node_modules/.bin/jsdoc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a pretty common pattern nowadays.