Skip to content

Commit

Permalink
Added grunt-docco2 to be able to generate documentation html based on…
Browse files Browse the repository at this point in the history
… markdown comments in code
  • Loading branch information
santilland committed Aug 6, 2013
1 parent 662f034 commit ba9d9e6
Show file tree
Hide file tree
Showing 45 changed files with 7,159 additions and 55 deletions.
13 changes: 13 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ var mountFolder = function (connect, dir) {
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'


module.exports = function (grunt) {
// load all grunt tasks
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
Expand All @@ -22,6 +23,7 @@ module.exports = function (grunt) {
dist: 'dist'
};


grunt.initConfig({
yeoman: yeomanConfig,
watch: {
Expand Down Expand Up @@ -49,6 +51,16 @@ module.exports = function (grunt) {
]
}
},
docco: {
docs: {
src: ['readme.md','<%= yeoman.app %>/scripts/{,*/}*.js', '!<%= yeoman.app %>/scripts/vendor/{,*/}*.js'],
options: {
layout: 'linear',
css: 'docco.css',
output: 'docs/'
}
}
},
connect: {
options: {
port: 9000,
Expand Down Expand Up @@ -318,6 +330,7 @@ module.exports = function (grunt) {
rjsConfig: '<%= yeoman.app %>/scripts/main.js'
}
}

});

grunt.registerTask('server', function (target) {
Expand Down
54 changes: 0 additions & 54 deletions app/scripts/base.coffee

This file was deleted.

Loading

0 comments on commit ba9d9e6

Please sign in to comment.