summaryrefslogtreecommitdiffstats
path: root/src/wwwroot/libraries/fomantic/tasks/collections/docs.js
blob: ffb9452405b8f45a76a5bcc2ca96406a05dacff3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*******************************
 *     Define Docs Sub-Tasks
 *******************************/

/*
  Lets you serve files to a local documentation instance
  https://github.com/Semantic-Org/Semantic-UI-Docs/
*/
module.exports = function (gulp) {

  var
    // docs tasks
    serveDocs = require('./../docs/serve'),
    buildDocs = require('./../docs/build')
  ;

  gulp.task('serve-docs', serveDocs);
  gulp.task('serve-docs').description = 'Serve file changes to SUI Docs';

  gulp.task('build-docs', buildDocs);
  gulp.task('build-docs').description = 'Build all files and add to SUI Docs';

};