wishthis/semantic/tasks/collections/docs.js

22 lines
590 B
JavaScript
Raw Normal View History

2022-01-13 13:00:31 +00:00
/*******************************
* Define Docs Sub-Tasks
*******************************/
2023-08-17 09:47:40 +00:00
// docs tasks
const
buildDocs = require('../docs/build'),
serveDocs = require('../docs/serve')
;
2022-01-13 13:00:31 +00:00
/*
Lets you serve files to a local documentation instance
2023-08-17 09:47:40 +00:00
https://github.com/fomantic/Fomantic-UI-Docs/
2022-01-13 13:00:31 +00:00
*/
module.exports = function (gulp) {
2023-08-17 09:47:40 +00:00
gulp.task('serve-docs', serveDocs);
gulp.task('serve-docs').description = 'Serve file changes to SUI Docs';
2022-01-13 13:00:31 +00:00
2023-08-17 09:47:40 +00:00
gulp.task('build-docs', buildDocs);
gulp.task('build-docs').description = 'Build all files and add to SUI Docs';
2022-01-13 13:00:31 +00:00
};