| Index: pkg/docgen/lib/docgen.dart
|
| diff --git a/pkg/docgen/lib/docgen.dart b/pkg/docgen/lib/docgen.dart
|
| index f35037c33ae9c5afaf3f974f3f71c54e1d453d0a..c23cd7d5dda3fddbc5b5b9dfcd32c62fc3d1e187 100644
|
| --- a/pkg/docgen/lib/docgen.dart
|
| +++ b/pkg/docgen/lib/docgen.dart
|
| @@ -43,7 +43,7 @@ Future<bool> docgen(List<String> files, {String packageRoot,
|
| List<String> excludeLibraries: const [],
|
| bool includeDependentPackages: false, bool compile: false,
|
| bool serve: false, bool noDocs: false, String startPage, String pubScript,
|
| - String dartBinary}) {
|
| + String dartBinary, bool indentJSON: false}) {
|
| var result;
|
| if (!noDocs) {
|
| viewer.ensureMovedViewerCode();
|
| @@ -53,7 +53,8 @@ Future<bool> docgen(List<String> files, {String packageRoot,
|
| introFileName: introFileName, out: out,
|
| excludeLibraries: excludeLibraries,
|
| includeDependentPackages: includeDependentPackages,
|
| - startPage: startPage, pubScript: pubScript, dartBinary: dartBinary);
|
| + startPage: startPage, pubScript: pubScript, dartBinary: dartBinary,
|
| + indentJSON: indentJSON);
|
| viewer.addBackViewerCode();
|
| if (compile || serve) {
|
| result.then((success) {
|
|
|