chore(dartdoc): don't cross link to sources (#2174)
Remove dartdoc `—add-crossdart` flag.
This commit is contained in:
parent
d7ade2366a
commit
cc6ed06f78
|
@ -617,7 +617,8 @@ gulp.task('dartdoc', ['pub upgrade'], function() {
|
||||||
const tmpPath = topLevelLibFilePath + '.disabled';
|
const tmpPath = topLevelLibFilePath + '.disabled';
|
||||||
renameIfExistsSync(topLevelLibFilePath, tmpPath);
|
renameIfExistsSync(topLevelLibFilePath, tmpPath);
|
||||||
gutil.log(`Hiding top-level angular2 library: ${topLevelLibFilePath}`);
|
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(() => {
|
return dartdoc.promise.finally(() => {
|
||||||
gutil.log(`Restoring top-level angular2 library: ${topLevelLibFilePath}`);
|
gutil.log(`Restoring top-level angular2 library: ${topLevelLibFilePath}`);
|
||||||
renameIfExistsSync(tmpPath, topLevelLibFilePath);
|
renameIfExistsSync(tmpPath, topLevelLibFilePath);
|
||||||
|
|
Loading…
Reference in New Issue