chore(dartdoc): don't cross link to sources (#2174)

Remove dartdoc `—add-crossdart` flag.
This commit is contained in:
Patrice Chalin 2016-08-22 15:03:50 -07:00 committed by Kathy Walrath
parent d7ade2366a
commit cc6ed06f78
1 changed files with 2 additions and 1 deletions

View File

@ -617,7 +617,8 @@ gulp.task('dartdoc', ['pub upgrade'], function() {
const tmpPath = topLevelLibFilePath + '.disabled';
renameIfExistsSync(topLevelLibFilePath, tmpPath);
gutil.log(`Hiding top-level angular2 library: ${topLevelLibFilePath}`);
const dartdoc = spawnExt('dartdoc', ['--output', 'docs/api', '--add-crossdart'], { cwd: ngRepoPath});
// Remove dartdoc '--add-crossdart' flag while we are fixing links to API pages.
const dartdoc = spawnExt('dartdoc', ['--output', 'docs/api'], { cwd: ngRepoPath});
return dartdoc.promise.finally(() => {
gutil.log(`Restoring top-level angular2 library: ${topLevelLibFilePath}`);
renameIfExistsSync(tmpPath, topLevelLibFilePath);