docs.js 598 B

1234567891011121314151617181920212223
  1. /*******************************
  2. * Define Docs Sub-Tasks
  3. *******************************/
  4. /*
  5. Lets you serve files to a local documentation instance
  6. https://github.com/Semantic-Org/Semantic-UI-Docs/
  7. */
  8. module.exports = function (gulp) {
  9. var
  10. // docs tasks
  11. serveDocs = require('./../docs/serve'),
  12. buildDocs = require('./../docs/build')
  13. ;
  14. gulp.task('serve-docs', serveDocs);
  15. gulp.task('serve-docs').description = 'Serve file changes to SUI Docs';
  16. gulp.task('build-docs', buildDocs);
  17. gulp.task('build-docs').description = 'Build all files and add to SUI Docs';
  18. };