build(aio): big move of docs related files (#14361)
All the docs related files (docs-app, doc-gen, content, etc) are now to be found inside the `/aio` folder. The related gulp tasks have been moved from the top level gulp file to a new one inside the `/aio` folder. The structure of the `/aio` folder now looks like: ``` /aio/ build/ # gulp tasks content/ #MARKDOWN FILES for devguides, cheatsheet, etc devguides/ cheatsheets/ transforms/ #dgeni packages, templates, etc src/ app/ assets/ content/ #HTML + JSON build artifacts produced by dgeni from /aio/content. #This dir is .gitignored-ed e2e/ #protractor tests for the doc viewer app node_modules/ #dependencies for both the doc viewer builds and the dgeni stuff #This dir is .gitignored-ed gulpfile.js #Tasks for generating docs and building & deploying the doc viewer ``` Closes #14361
This commit is contained in:

committed by
Igor Minar

parent
5e7a2fa854
commit
600402d440
16
gulpfile.js
16
gulpfile.js
@ -8,12 +8,12 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
|
||||
// THIS CHECK SHOULD BE THE FIRST THING IN THIS FILE
|
||||
// This is to ensure that we catch env issues before we error while requiring other dependencies.
|
||||
require('./tools/check-environment')({
|
||||
requiredNpmVersion: '>=3.10.7 <4.0.0',
|
||||
requiredNodeVersion: '>=6.9.5 <7.0.0',
|
||||
});
|
||||
const engines = require('./package.json').engines;
|
||||
require('./tools/check-environment')(
|
||||
{requiredNpmVersion: engines.npm, requiredNodeVersion: engines.node});
|
||||
|
||||
const gulp = require('gulp');
|
||||
|
||||
@ -35,10 +35,4 @@ gulp.task('tools:build', loadTask('tools-build'));
|
||||
gulp.task('check-cycle', loadTask('check-cycle'));
|
||||
gulp.task('serve', loadTask('serve', 'default'));
|
||||
gulp.task('serve-examples', loadTask('serve', 'examples'));
|
||||
gulp.task('changelog', loadTask('changelog'));
|
||||
gulp.task('docs', ['doc-gen', 'docs-app']);
|
||||
gulp.task('doc-gen', loadTask('docs', 'generate'));
|
||||
gulp.task('doc-gen-test', loadTask('docs', 'test'));
|
||||
gulp.task('docs-app', loadTask('docs-app'));
|
||||
gulp.task('docs-app-test', () => {});
|
||||
gulp.task('docs-test', ['doc-gen-test', 'docs-app-test']);
|
||||
gulp.task('changelog', loadTask('changelog'));
|
Reference in New Issue
Block a user