diff --git a/README.md b/README.md index 6e1f21a..2070ec6 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ gulp.task('ngdocs', [], function () { }); ``` -To use a different AngularJS version pass `angular` and `angular-animate` files in scripts. +Please specify you own version of angular and angular-animate. They will not be included by default. ```js gulp.task('ngdocs', [], function () { @@ -53,20 +53,6 @@ gulp.task('ngdocs', [], function () { 'bower_components/angular-animate/angular-animate.min.js.map' ] } - - /* - If you choose to use the remote links pass in the .min.js links for angular and angular-animate - - var options = { - scripts: [ - 'http://ajax.googleapis.com/ajax/libs/angularjs//angular.min.js', - 'http://ajax.googleapis.com/ajax/libs/angularjs//angular-animate.min.js' - ] - } - */ - return gulp.src('path/to/src/*.js') - .pipe(gulpDocs.process(options)) - .pipe(gulp.dest('./docs')); }); ``` diff --git a/index.js b/index.js index d55fdf6..c0a21d8 100644 --- a/index.js +++ b/index.js @@ -107,14 +107,6 @@ function processDoc(opts) { //Default root paths for scripts var scriptPaths = { - angular : [ - 'angular/angular.min.js', - 'angular/angular.min.js.map' - ], - angularAnimate: [ - 'angular-animate/angular-animate.min.js', - 'angular-animate/angular-animate.min.js.map' - ], marked: [ 'marked/lib/marked.js' ]