Skip to content

Commit

Permalink
chore(grunt): adds grunt-ngdocs plugin
Browse files Browse the repository at this point in the history
also integrates it into existing grunt configuration.
this is just the basic stuff, developer guide and tutorial
to come.
  • Loading branch information
0x-r4bbit committed Dec 11, 2013
1 parent 20fcbf8 commit b4d8775
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
12 changes: 12 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,18 @@ module.exports = function (grunt) {
options: {
dest: 'CHANGELOG.md'
}
},
ngdocs: {
options: {
dest: 'site',
html5Mode: false,
title: 'UI Router',
startPage: '/api',
},
api: {
src: ['src/**/*.js'],
title: 'API Reference'
}
}
});

Expand Down
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@
"web": "https://github.com/ksperling"
}
],
"maintainers": [{
"name": "AngularUI",
"web": "https://github.com/angular-ui?tab=members"
}],
"maintainers": [
{
"name": "AngularUI",
"web": "https://github.com/angular-ui?tab=members"
}
],
"repository": {
"type": "git",
"url": "https://github.com/angular-ui/ui-router.git"
Expand Down Expand Up @@ -58,6 +60,7 @@
"karma": "~0.10.4",
"karma-phantomjs-launcher": "~0.1.0",
"load-grunt-tasks": "~0.2.0",
"grunt-conventional-changelog": "~1.0.0"
"grunt-conventional-changelog": "~1.0.0",
"grunt-ngdocs": "~0.1.7"
}
}

0 comments on commit b4d8775

Please sign in to comment.