Permalink
Browse files

Add page regeneration script, fix yuidoc

  • Loading branch information...
1 parent 7b3f92c commit ecfcf42bd0b7a3dca183bb5cb12db0589f22f7c7 @gotwarlost committed Oct 17, 2012
Showing with 12 additions and 0 deletions.
  1. +1 −0 .npmignore
  2. +9 −0 generate-pages.sh
  3. +2 −0 lib/object-utils.js
View
@@ -1,5 +1,6 @@
.npmignore
.gitignore
+generate-pages.sh
.travis.yml
*.tar
*.tgz
View
@@ -0,0 +1,9 @@
+export PAGES_DIR=../istanbul-pages
+npm install
+npm test --coverage
+npm install -g yuidocjs
+mkdir -p public/apidocs
+yuidoc .
+rsync -rvt ./public/apidocs/ ${PAGES_DIR}/public/apidocs/
+rsync -rvt ./build/coverage/ ${PAGES_DIR}/public/coverage
+
View
@@ -258,6 +258,8 @@
* returns the coverage summary for a single coverage object. This is
* wrapper over `summarizeFileCoverage` and `mergeSummaryObjects` for
* the common case of a single coverage object
+ * @method summarizeCoverage
+ * @static
* @param {Object} coverage the coverage object
* @return {Object} summary coverage metrics across all files in the coverage object
*/

0 comments on commit ecfcf42

Please sign in to comment.