| Index: sdk/lib/_internal/dartdoc/bin/dartdoc.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/dartdoc/bin/dartdoc.dart (revision 14473)
|
| +++ sdk/lib/_internal/dartdoc/bin/dartdoc.dart (working copy)
|
| @@ -20,10 +20,10 @@
|
|
|
| // TODO(rnystrom): Use "package:" URL (#4968).
|
| import '../lib/dartdoc.dart';
|
| -import '../../args/lib/args.dart';
|
| +import '../../../../../pkg/args/lib/args.dart';
|
|
|
| /**
|
| - * Run this from the `pkg/dartdoc` directory.
|
| + * Run this from the `lib/_internal/dartdoc` directory.
|
| */
|
| main() {
|
| // Need this because ArgParser.getUsage doesn't show command invocation.
|
| @@ -35,8 +35,8 @@
|
|
|
| final argParser = new ArgParser();
|
|
|
| - final Path libPath = scriptDir.append('../../../');
|
| - Path pkgPath = scriptDir.append('../../../pkg/');
|
| + final Path libPath = scriptDir.append('../../../../');
|
| + Path pkgPath = scriptDir.append('../../../../pkg/');
|
|
|
| argParser.addFlag('no-code',
|
| help: 'Do not include source code in the documentation.',
|
| @@ -166,7 +166,7 @@
|
| }
|
| });
|
|
|
| - dartdoc.dartdocPath = libPath.append('pkg/dartdoc');
|
| + dartdoc.dartdocPath = libPath.append('lib/_internal/dartdoc');
|
|
|
| if (args.isEmpty) {
|
| print('No arguments provided.');
|
|
|