     .pipe gulpif '!**/', git.add({args : "-A"})
 
 gulp.task 'codo', [], ()->
-  command = 'codo -o "./doc" --name "yjs" --private true --title "yjs rte type API" ./lib'
+  command = './node_modules/codo/bin/codo -o "./doc" --name "yjs" --readme "README.md" --undocumented false --private true --title "yjs API" ./lib - LICENSE.txt '
   run(command).exec()
 
 gulp.task 'phantom_test', ['build_browser'], ()->

gulp.task 'watch', ['build'], ->
  gulp.watch files.all, ['build']

gulp.task 'coffee',->
  gulp.src files.lib
    # .pipe sourcemaps.init()
    .pipe coffee {bare: true}
      .on('error', gutil.log)
    # .pipe concat()
    # .pipe sourcemaps.write()
    .pipe gulp.dest('./lib/')


gulp.task 'lint', ->
  gulp.src files.all

    .pipe mochaPhantomJS()

gulp.task 'clean', ->
  gulp.src ['./build/{browser,test,node}/**/*.{js,map}','./doc/'], { read: false }
    .pipe rimraf()

gulp.task 'mocha', [], ->
