/**
 * Define doc tasks.
 * @module ci.tasks.docTasks
 * @author "ci.worker.generateStructure"
 *
 */
var helpers = require('../helpers'),
    t = helpers.taskDefineHelper;

exports.docApi = t.generateApiguide({
    src: [
        'lib/**/*.js',
        'ci/**/*.js',
        'README.md',
        'Apemanfile.js',
        '_apemanfile_helper.js'
    ],
    destDir: 'doc/apiguide',
    // Available themes:
    // [ "amelia","cerulean","cosmo","cyborg","flatly","journal","readable",
    //   "simplex","slate","spacelab","spruce","superhero","united"]
    theme: 'amelia'
});

/**
 * Generate documents.
 * @name ci.tasks.doc
 */
exports.doc = [
    'docApi'
];