module.exports = function(grunt) {
    var output = "web/";
    var source = "src/"
    var layouts = source + 'layouts';
    var assets = source + 'assets';
    var scss = source + '_scss';
    var cssOutputDir = source + 'css';

    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        open : {
          dev : {
            path: 'http://127.0.0.1:8080/'
          }
        },
        'livereload' : {
		    options : {
		      base : 'web',
		    },
		    files : ['web/**/*']
		},
		'watch': {
		  all: {
		    files: 'src/**/*.*',
		    tasks: ['compass', 'newer:assemble', 'sync'], // only build changed pages
		    options: {
		      livereload: true,
		    },
		  },
		},
        compass: {
            dist: {
                options: {
                    sassDir: scss,
                    cssDir: cssOutputDir,
                    outputStyle: 'compressed',
                }
            }
        },
        'http-server': {
            'dev': {
                root: "web",
                port: 8080,
                host: "0.0.0.0",
                cache: 0,
                showDir : true,
                autoIndex: true,
                // server default file extension
                ext: "html",
                // run in parallel with other tasks
                runInBackground: true
            }
        },
        sync: {
            "assets" : { // copy files from source to output folder
                files: [
                    {
                        expand: true,
                        cwd   : source,
                        src   : ['**/*.*','!**/*.hbs','!**/*.md','!**/.htm', '!**/*.scss', '!_data/**/*'],
                        dest  : output
                    },
                ],
            }
        },

        clean: {
            all: ['web/*.html']
        },

        assemble: {
            options: {
                layout: "wiki.hbs",
                flatten: false,
                expand: true,
                layoutdir: layouts,
                partials: ['src/partials/**/*'],
                helpers: ['helper-gfm.js', 'helper-ifEq.js'],
                assets: assets,
                data: 'src/_data/*'
            },

            "pages": { //build all pages, hbs and markdown
                files: [
                    {
                        expand: true,
                        cwd: source,
                        src: ['*.hbs','pages/**/*.hbs','**/*.md','help/**/*.htm'],
                        dest: output,
                        ext: '.html'
                    }
                ]
            }
        }
    });

    grunt.loadNpmTasks('grunt-open');
    grunt.loadNpmTasks('grunt-http-server');
    grunt.loadNpmTasks('grunt-contrib-clean');
    grunt.loadNpmTasks('grunt-sync');
    grunt.loadNpmTasks('grunt-contrib-copy');
    grunt.loadNpmTasks('grunt-contrib-watch');
    grunt.loadNpmTasks('grunt-contrib-compass');
    grunt.loadNpmTasks('grunt-livereload');
    grunt.loadNpmTasks('grunt-git');
    grunt.loadNpmTasks('assemble');
    grunt.loadNpmTasks('grunt-newer');

    grunt.registerTask('default', [
        'clean', // clean out any deleted files
        'assemble',  // build pages from scratch on startup
        'compass',
        'sync',  // copy documentation to src, copy resources from src to output
        'open',
        'http-server',  // start server
        'watch'
    ]);

    grunt.registerTask('prod', [
        'clean', // clean out any deleted files
        'compass', // build SCSS => CSS
        'sync',  // copy documentation to src, copy resources from src to output
        'assemble',  // build pages
    ]);
};

@@ -1908,12 +1908,12 @@
 t: %22
-wiki
+docs
 .hbs

tweak gruntfile