Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand All @@ -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/<version>/angular.min.js',
'http://ajax.googleapis.com/ajax/libs/angularjs/<version>/angular-animate.min.js'
]
}
*/
return gulp.src('path/to/src/*.js')
.pipe(gulpDocs.process(options))
.pipe(gulp.dest('./docs'));
});
```

Expand Down
8 changes: 0 additions & 8 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
]
Expand Down