UNPKG

doks

Version:

A configurable, bring-your-own-template documentation generator aimed for user and developer documentation based on source code.

26 lines (21 loc) 603 B
module.exports = (grunt) -> require('load-grunt-tasks')(grunt) theme = grunt.option('theme') or 'bootstrap' grunt.initConfig connect: dev: options: port: 9001 livereload: yes base: "doks" open: appName: 'google-chrome' target: 'http://127.0.0.1:<%= connect.dev.options.port %>' watch: dev: files: ["themes/#{theme}/**/*", "doks/**/*"] tasks: ['build'] options: livereload: yes grunt.registerTask 'build', [] grunt.registerTask 'dev', ['connect:dev', 'watch:dev']