Repository navigation
"grunt docular" freezes #140
Copy link
Copy link
Open
Description
Activity
You need to at least have one group defined. It's a bug though that it doesn't yell at you for it. Try adding a group and see if that happens.
Thanks for the reply! I'm sorry for taking so long to answer, but I've been busy with other things... I'll try it when I have some spare time and see what happens, thanks again!
Sorry for taking so long.
Now it's like this:
docular: { useHtml5Mode: false, docular_webapp_target: '/docs', showAngularDocs: true, showDocularDocs: true, examples: {}, groups: [ { groupTitle: 'App Docs', groupId: 'app', groupIcon: 'icon-book', files: grunt.file.expand(['app/*.js', 'app/shared/*.js', 'app/shared/**/*.js']) } ] }
Still doesn't work... I'll leave the whole Gruntfile.js down here in case someone want to check it:
module.exports = function(grunt) { grunt.initConfig({ jshint: { files: [ 'app/*.js', 'app/components/**/**/*.js', 'app/shared/*.js', 'app/shared/**/*.js' ], options: { globals: { jQuery: true } } }, docular: { useHtml5Mode: false, docular_webapp_target: '/docs', showAngularDocs: true, showDocularDocs: true, examples: {}, groups: [ { groupTitle: 'App Docs', groupId: 'app', groupIcon: 'icon-book', files: grunt.file.expand(['app/*.js', 'app/shared/*.js', 'app/shared/**/*.js']) } ] }, connect: { options: { port: 80, hostname: 'localhost' }, dev: { options: { middleware: function (connect) { return [ require('connect-livereload')(), checkForDownload, mountFolder(connect, '.') ]; } } } }, watch: { options: { livereload: true }, files: [ 'app/*.js', 'app/components/**/**/*.js', 'app/shared/*.js', 'app/shared/**/*.js' ], tasks: ['jshint', 'docular'] } }); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-docular'); grunt.loadNpmTasks('grunt-contrib-connect'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.registerTask('default', []); grunt.registerTask('test', ['jshint','docular','connect']); grunt.registerTask('docular', ['docular']); };
Metadata
Metadata
Assignees
Labels
No labels
Following the tutorial, I've created a grunt task to run docular.
I left it running for more than 10 minutes, but nothing happened, no error messages. Actually, there were no messages at all, it simple never finishes running nor outputs anything.
I'm running on windows 7, using Git Bash;
git v1.9.4.msysgit.1;
node v0.12.5;
npm v2.11.2;
grunt-cli v0.1.13;
grunt v0.4.5;
I'm running the grunt task in the root dir of my angular project (where is located the index.html).
Here are some pieces of my Gruntfile.js:
docular: {
useHtml5Mode: false,
docular_webapp_target: '/docs',
showAngularDocs: true,
showDocularDocs: true,
examples: {},
groups: []
}
grunt.loadNpmTasks('grunt-docular')
grunt.registerTask('docular', ['docular'])
Did I miss something?