Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit cc6ed06

Browse files
chalinkwalrath
authored andcommitted
chore(dartdoc): don't cross link to sources (#2174)
Remove dartdoc `—add-crossdart` flag.
1 parent d7ade23 commit cc6ed06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gulpfile.js

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

0 commit comments

Comments
 (0)